mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 18:06:25 +08:00
Restore uptime timeout to 5 seconds (#11300)
This commit is contained in:
@@ -246,7 +246,8 @@ class NodeUpdater:
|
||||
self.log_prefix)
|
||||
|
||||
# Run outside of the container
|
||||
self.cmd_runner.run("uptime", run_env="host")
|
||||
self.cmd_runner.run(
|
||||
"uptime", timeout=5, run_env="host")
|
||||
cli_logger.old_debug(logger, "Uptime succeeded.")
|
||||
cli_logger.success("Success.")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user