Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New capability to pull CL events by the millisecond #42

Merged
merged 3 commits into from
Jan 29, 2025

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.

2 participants