From 962fba76212905dc53e70acb4a3176eba3a672dc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 15 Oct 2024 11:10:23 -0400 Subject: [PATCH] Bump up startup waits slightly Ensures there's more time for daemons (specifically Zookeeper) to start up and synchronize between nodes. --- node-daemon/pvcnoded/util/services.py | 4 ++-- node-daemon/pvcnoded/util/zookeeper.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/node-daemon/pvcnoded/util/services.py b/node-daemon/pvcnoded/util/services.py index e248c36d..b3bc4534 100644 --- a/node-daemon/pvcnoded/util/services.py +++ b/node-daemon/pvcnoded/util/services.py @@ -102,5 +102,5 @@ def start_system_services(logger, config): start_workerd(logger, config) start_healthd(logger, config) - logger.out("Waiting 5 seconds for daemons to start", state="s") - sleep(5) + logger.out("Waiting 10 seconds for daemons to start", state="s") + sleep(10) diff --git a/node-daemon/pvcnoded/util/zookeeper.py b/node-daemon/pvcnoded/util/zookeeper.py index 12ce557f..19add1b1 100644 --- a/node-daemon/pvcnoded/util/zookeeper.py +++ b/node-daemon/pvcnoded/util/zookeeper.py @@ -189,5 +189,5 @@ def setup_node(logger, config, zkhandler): ] ) - logger.out("Waiting 3 seconds for Zookeeper to synchronize", state="s") - time.sleep(3) + logger.out("Waiting 5 seconds for Zookeeper to synchronize", state="s") + time.sleep(5)