From b9ec0bb1d214006e34022e591760bd82d60cf453 Mon Sep 17 00:00:00 2001 From: Roman Zajic Date: Thu, 9 May 2024 21:53:03 +0800 Subject: [PATCH] fix: skip health check for go-waku (#36) --- src/node/waku_node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/node/waku_node.py b/src/node/waku_node.py index 44985ae4f8..377baae547 100644 --- a/src/node/waku_node.py +++ b/src/node/waku_node.py @@ -208,12 +208,13 @@ class WakuNode: logger.info("Node protocols are initialized !!") - @retry(stop=stop_after_delay(5), wait=wait_fixed(0.1), reraise=True) + @retry(stop=stop_after_delay(timeout_duration), wait=wait_fixed(0.1), reraise=True) def check_ready(node=self): node.info_response = node.info() logger.info("REST service is ready !!") - check_healthy() + if self.is_nwaku(): + check_healthy() check_ready() def get_enr_uri(self):