From 8959981c4af64920806810f4202a1d4d75340dfe Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sun, 16 Oct 2011 22:31:05 +0100 Subject: [PATCH] save stats more often (5 sec) --- client/djrandom_client/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/djrandom_client/stats.py b/client/djrandom_client/stats.py index 9ccfa4b..11eb330 100644 --- a/client/djrandom_client/stats.py +++ b/client/djrandom_client/stats.py @@ -15,7 +15,7 @@ class StatsDumperThread(threading.Thread): def run(self): while True: - time.sleep(30) + time.sleep(5) try: self._stats._save() except Exception, e: -- GitLab