Explorar el Código

Increase startup_timeout on server

Alexander Borzunov hace 2 años
padre
commit
ef29dacc4c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/petals/server/server.py

+ 1 - 0
src/petals/server/server.py

@@ -124,6 +124,7 @@ class Server:
             num_workers=self.block_config.n_layer,
             use_relay=use_relay,
             use_auto_relay=use_auto_relay,
+            startup_timeout=60,
             **kwargs,
         )
         visible_maddrs_str = [str(a) for a in self.dht.get_visible_maddrs()]