mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 07:58:26 +08:00
Creating head node might take more than 50-30 seconds to show up. (#9066)
This commit is contained in:
@@ -228,7 +228,7 @@ def get_or_create_head_node(config, config_file, no_restart, restart_only, yes,
|
||||
start = time.time()
|
||||
head_node = None
|
||||
while True:
|
||||
if time.time() - start > 5:
|
||||
if time.time() - start > 50:
|
||||
raise RuntimeError("Failed to create head node.")
|
||||
nodes = provider.non_terminated_nodes(head_node_tags)
|
||||
if len(nodes) == 1:
|
||||
|
||||
Reference in New Issue
Block a user