fix: skip health check for go-waku (#36)
This commit is contained in:
parent
06281de7c8
commit
b9ec0bb1d2
|
@ -208,11 +208,12 @@ class WakuNode:
|
||||||
|
|
||||||
logger.info("Node protocols are initialized !!")
|
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):
|
def check_ready(node=self):
|
||||||
node.info_response = node.info()
|
node.info_response = node.info()
|
||||||
logger.info("REST service is ready !!")
|
logger.info("REST service is ready !!")
|
||||||
|
|
||||||
|
if self.is_nwaku():
|
||||||
check_healthy()
|
check_healthy()
|
||||||
check_ready()
|
check_ready()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue