delete TIMEOUT event as soon as we get it
This commit is contained in:
parent
bde254eccf
commit
92faf9e04e
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -177,6 +177,7 @@ def main(vm_prefix, host_prefix):
|
|||
e_status = e.value["status"]
|
||||
|
||||
if e_status == "TIMEOUT":
|
||||
client.client.delete(e.key)
|
||||
logging.info("Timeout")
|
||||
hosts = client.get_prefix(host_prefix, value_in_json=True)
|
||||
dead_hosts = dead_host_detection(hosts)
|
||||
|
|
Loading…
Reference in a new issue