diff --git a/src/node/nomos_node.py b/src/node/nomos_node.py index 8457c13..04b09db 100644 --- a/src/node/nomos_node.py +++ b/src/node/nomos_node.py @@ -41,7 +41,7 @@ class NomosNode: logger.debug(f"NomosNode instance initialized with log path {self._log_path}") # @retry(stop=stop_after_delay(60), wait=wait_fixed(0.1), reraise=True) - def start(self, wait_for_node_sec=20, **kwargs): + def start(self, wait_for_node_sec=120, **kwargs): logger.debug("Starting Node...") self._docker_manager.create_network() self._ext_ip = self._docker_manager.generate_random_ext_ip() @@ -81,11 +81,11 @@ class NomosNode: logger.debug(f"Container returned {self._container}") logger.debug(f"Started container from image {self._image_name}. " f"REST: {getattr(self, '_tcp_port', 'N/A')}") - try: - self.ensure_ready(timeout_duration=wait_for_node_sec) - except Exception as ex: - logger.error(f"REST service did not become ready in time: {ex}") - raise + # try: + self.ensure_ready(timeout_duration=wait_for_node_sec) + # except Exception as ex: + # logger.error(f"REST service did not become ready in time: {ex}") + # raise def ensure_ready(self, timeout_duration=10): @retry(stop=stop_after_delay(timeout_duration), wait=wait_fixed(0.1), reraise=True)