From 9963e9c62d0028495e2ba03162c56b87ea437acb Mon Sep 17 00:00:00 2001 From: meow Date: Mon, 30 Dec 2019 15:18:25 +0500 Subject: [PATCH] Slow down heartbeat update --- ucloud/host/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucloud/host/main.py b/ucloud/host/main.py index f25a984..88dfb7c 100755 --- a/ucloud/host/main.py +++ b/ucloud/host/main.py @@ -21,7 +21,7 @@ def update_heartbeat(hostname): while True: this_host.update_heartbeat() host_pool.put(this_host) - time.sleep(3) + time.sleep(10) def maintenance(host):