fix: skip health check for go-waku

This commit is contained in:
Roman 2024-05-09 16:53:58 +08:00
parent 06281de7c8
commit 83c04b45cc
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -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):