|
@@ -30,7 +30,7 @@ log_ = Log()
|
|
|
redis_helper = RedisHelper()
|
|
|
|
|
|
REDIS_PREFIX = "redis:vid_hasreturn_vor:"
|
|
|
-EXPIRE_TIME = 6 * 3600
|
|
|
+EXPIRE_TIME = 4 * 3600
|
|
|
|
|
|
def worker(queue, executor):
|
|
|
while True:
|
|
@@ -133,7 +133,7 @@ def main():
|
|
|
hour = datetime.now().hour
|
|
|
log_.info("没有读取到参数,采用系统时间:{}".format(e))
|
|
|
log_.info("使用时间参数-日期:{},小时:{}".format(date, str(hour)))
|
|
|
- if hour in ["00", "01", "02", "03"]:
|
|
|
+ if hour in ["00", "01"]:
|
|
|
log_.info(f"hour={hour}不执行,直接返回。")
|
|
|
return
|
|
|
|