-
Notifications
You must be signed in to change notification settings - Fork 306
intelmqctl: On stop wait longer for bots to be stopped #2598
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
base: develop
Are you sure you want to change the base?
Conversation
the 3.10 pytest fail is unrelated (see #2602) |
I put quite some comments in there. Looking at the other code, I see much less comments. If I should shrink the comments just let me know. |
Please not, inline comments are great :) |
Alright then. The tests (that shall pass) pass. Any additional feedback? (also notify if not, so I can squash the commits into one commit) |
retry multiple times on `intelmqctl stop` to check if bots really stopped, since the bots might take longer to stop. Using retry in constrast to increasing the sleep_time keeps the delay short in case the bots did already stop.
Is there something still blocking the merge? (please don't feel pressured, I just want to avoid this got lost in the whole fixing the pytest pipelines issue) |
Friendly reminder for this PR. |
A code review and testing (+ changelog entry, but that's minor). Most of us do that work honorary, so it's sometimes hard to find the time. |
fixes #2595
retry multiple times on
intelmqctl stop
to check if bots really stopped, since the bots might take longer to stop. Using retry in constrast to increasing the sleep_time keeps the delay short in case the bots did already stop.Note: I intend to make at least the amount of retries performed configurable so that if the current total
sleep_time
of 4.75 seconds does not suffice for some users they are able to increase it.