stanley-king hace 3 años
padre
commit
8ac2686521
Se han modificado 1 ficheros con 2 adiciones y 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))