Minor style fixes to the scheduler.py (#15218)
This commit is contained in:
@@ -246,7 +246,7 @@ class SchedulerRuntimeCheckerMixin:
|
||||
|
||||
if (
|
||||
self.enable_metrics
|
||||
and self.current_scheduler_metrics_enabled()
|
||||
and self.current_scheduler_metrics_enabled
|
||||
and time.perf_counter() > self.metrics_collector.last_log_time + 30
|
||||
):
|
||||
# During idle time, also collect metrics every 30 seconds.
|
||||
|
||||
Reference in New Issue
Block a user