|
@@ -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))
|