添加状态检查
This commit is contained in:
parent
16f4159401
commit
673941b81f
@ -160,5 +160,5 @@ def produce_task():
|
||||
log.info(f"produce {len(all)} 2 redis!") #log.info("end produce cache!")
|
||||
my_redis.set("ad_produce", run_status)
|
||||
now = datetime.datetime.now()
|
||||
timestamp = datetime.datetime.timestamp(now)
|
||||
timestamp = int(datetime.datetime.timestamp(now))
|
||||
my_redis.set("ad_produce_time", timestamp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user