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

Check there is enough time before starting seq.scan() #181

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BrianJKoopman
Copy link
Member

This PR implements the "minimum duration" argument discussed in #169. This argument specifies the minimum number of seconds before the stop_time that we need to be able to start scanning.

Along with this we also add a quick check on the current time compared to the stop_time. If stop_time has already passed, we skip the scan entirely.

Resolves #169.

This ensures that scans are at least `min_duration` long, otherwise it skips
the scan entirely.
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.

Additional timing utilities
1 participant