Explorar o código

optimize every minute

Sven Czarnian %!s(int64=3) %!d(string=hai) anos
pai
achega
21e79a26f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      aman/sys/Worker.py

+ 1 - 1
aman/sys/Worker.py

@@ -73,7 +73,7 @@ class Worker(Thread):
         while None == self.StopThread:
             time.sleep(1)
             counter += 1
-            if 0 != (counter % 10):
+            if 0 != (counter % 60):
                 continue
 
             self.acquireLock()