From 761653ac2561ae80b48fe07b8fe8bb05fd2f2548 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 2 Mar 2022 18:35:53 -0500 Subject: [PATCH] Increase realtime stats frequency --- app/classes/shared/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/shared/tasks.py b/app/classes/shared/tasks.py index 10186737..8348edcb 100644 --- a/app/classes/shared/tasks.py +++ b/app/classes/shared/tasks.py @@ -527,7 +527,7 @@ class TasksManager: websocket_helper.broadcast_page('/status', 'update_server_status', servers_ping) except: console.warning("Can't broadcast server status to websocket") - time.sleep(5) + time.sleep(2) def log_watcher(self): self.controller.servers.check_for_old_logs()