Resetting exited on enter
This commit is contained in:
parent
1dc1d15652
commit
ad8e3a669b
@ -44,6 +44,8 @@ def set_heartbeat(ts, in_backoff=False, error=None):
|
|||||||
if in_backoff and prev is False:
|
if in_backoff and prev is False:
|
||||||
backoff_entered_at = ts
|
backoff_entered_at = ts
|
||||||
backoff_entered_human = datetime.fromtimestamp(ts).isoformat()
|
backoff_entered_human = datetime.fromtimestamp(ts).isoformat()
|
||||||
|
backoff_exited_at = None
|
||||||
|
backoff_exited_human = None
|
||||||
|
|
||||||
# Går UT av backoff
|
# Går UT av backoff
|
||||||
if not in_backoff and prev is True:
|
if not in_backoff and prev is True:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user