Commit ff0537dc authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Reduce exp backoff in heartbeat

parent 85606c6a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment