Skip to content
Snippets Groups Projects
Commit ff0537dc authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Reduce exp backoff in heartbeat

parent 85606c6a
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ def heartbeat_event(settings, heartbeat, path):
break
set_log()
time.sleep(interval)
interval = min(2 * interval, max_interval)
interval = min(1.2 * interval, max_interval)
thread = threading.Thread(target=go)
thread.start()
return event
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment