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

Timeout and run_flag are only checked when new data is found #81

Open
ttu opened this issue Jun 16, 2019 · 0 comments
Open

Timeout and run_flag are only checked when new data is found #81

ttu opened this issue Jun 16, 2019 · 0 comments

Comments

@ttu
Copy link
Owner

ttu commented Jun 16, 2019

If new data is never found, timeout or manual cancellation with run_flag will never be triggered. This should be in an own thread.

if search_duratio_sec and time.time() - start_time > search_duratio_sec:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant