Skip to content

Conversation

@fatimarahman
Copy link
Contributor

To prevent missing any library events & to add additional granularity, users should now be able to pull library events by the millisecond. This isn't mentioned in the CL API docs, so users also have the option to pull by the minute or the second.

In addition, the CL API pulls the previous day's events by default, so I've eliminated unnecessary code from the get_library_events method.

Copy link
Contributor

@aaronfriedman6 aaronfriedman6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which format do we use when doing regular polling?

@fatimarahman
Copy link
Contributor Author

@aaronfriedman6 Right now we poll by the second, but I think I'm going to switch over to millisecond to prevent losing any events

@fatimarahman fatimarahman merged commit 16c94a7 into main Jan 29, 2025
2 checks passed
@fatimarahman fatimarahman deleted the cl-millisecond-functionality branch January 29, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants