stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
8ac2686521
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      plot/DataCenter.py

+ 2 - 2
plot/DataCenter.py

@@ -52,7 +52,7 @@ class DataCenter(object):
             except Exception as ex:
                 print(ex)
             finally:
-                stime.sleep(30)
+                stime.sleep(10)
 
     def del_redis(self, redis, name):
         latest_time = int(stime.time()) - 120
@@ -420,7 +420,7 @@ class DataCenter(object):
             except Exception as ex:
                 print(ex)
             finally:
-                stime.sleep(30)
+                stime.sleep(10)
 
     def log_time(self,day_stamp, time_sec, start_time):
         d = time.asctime(time.localtime(day_stamp))