mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'bug/CPU-Usage' into 'dev'
Add sleep to realtime - Reduce CPU load. See merge request crafty-controller/crafty-commander!228
This commit is contained in:
commit
dc72ac5c3e
@ -557,6 +557,7 @@ class TasksManager:
|
|||||||
"mem_usage": host_stats.get("mem_usage"),
|
"mem_usage": host_stats.get("mem_usage"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
def log_watcher(self):
|
def log_watcher(self):
|
||||||
self.controller.servers.check_for_old_logs()
|
self.controller.servers.check_for_old_logs()
|
||||||
|
Loading…
Reference in New Issue
Block a user