mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 05:16:30 +08:00
Take into account queue length in autoscaling (#5684)
This commit is contained in:
@@ -115,7 +115,8 @@ class LogMonitor(object):
|
||||
log_file_paths = glob.glob("{}/worker*[.out|.err]".format(
|
||||
self.logs_dir))
|
||||
# segfaults and other serious errors are logged here
|
||||
raylet_err_paths = glob.glob("{}/raylet*.err".format(self.logs_dir))
|
||||
raylet_err_paths = (glob.glob("{}/raylet*.err".format(self.logs_dir)) +
|
||||
glob.glob("{}/monitor*.err".format(self.logs_dir)))
|
||||
for file_path in log_file_paths + raylet_err_paths:
|
||||
if os.path.isfile(
|
||||
file_path) and file_path not in self.log_filenames:
|
||||
|
||||
Reference in New Issue
Block a user