We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e168296 commit b8e7025Copy full SHA for b8e7025
intelmq/bin/intelmqctl.py
@@ -573,7 +573,7 @@ def botnet_stop(self, group=None):
573
# - sleep 0.75 s with an increment of 0.1
574
# - at most 5 tries
575
# => sleep-ing at most 4.75 seconds
576
- sleep_time = 0.75 # in seconds
+ sleep_time = 0.75 # in seconds
577
for _ in range(retries):
578
# give the bots some time to terminate
579
time.sleep(sleep_time)
@@ -590,7 +590,7 @@ def botnet_stop(self, group=None):
590
# again to avoid long-term load on the system
591
# but stop at 5 seconds to avoid waiting too long until rechecking
592
# the status
593
- sleep_time = min(5, sleep_time+0.1)
+ sleep_time = min(5, sleep_time + 0.1)
594
595
retval = 1
596
if len(stopped_but_still_running_bots) == 0:
0 commit comments