Add sleep to realtime - Reduce CPU load.

This commit is contained in:
Andrew 2022-03-26 19:10:04 -04:00
parent 8f95b0a96a
commit 822a3707b2

View File

@ -557,6 +557,7 @@ class TasksManager:
"mem_usage": host_stats.get("mem_usage"),
},
)
time.sleep(1)
def log_watcher(self):
self.controller.servers.check_for_old_logs()