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

amq_detection_component does not sleep in between poll attempts #1586

Closed
brosenberg42 opened this issue Sep 6, 2022 · 0 comments
Closed

Comments

@brosenberg42
Copy link
Member

amq_detection_component is supposed to sleep for 5 seconds between poll attempts. It only does this for the first attempt. select modifies the passed in timeout so that it contains the amount of time not slept. When select returns because the timeout expired, it sets the timeout to 0. amq_detection_component never sets the timeout back to 5 for future calls to select.

@brosenberg42 brosenberg42 added this to the Milestone 3 milestone Sep 6, 2022
@brosenberg42 brosenberg42 self-assigned this Sep 6, 2022
@brosenberg42 brosenberg42 added this to To do in OpenMPF: Development via automation Sep 6, 2022
@jrobble jrobble moved this from To do to In Progress in OpenMPF: Development Sep 9, 2022
@jrobble jrobble added the hotfix label Sep 9, 2022
OpenMPF: Development automation moved this from In Progress to Closed Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants