Commit 65ab6c25 authored by 高雅喆's avatar 高雅喆

update

parent 52420c09
......@@ -16,7 +16,7 @@ while True:
with open(log_path+"user_portrait_tag_name_increment_update_" + today + ".log", "a") as f:
is_email = 0
for batch in batchs_info:
if is_email == 0 and 'totalDelay' in batch and batch['totalDelay'] > 10000:
if is_email == 0 and 'totalDelay' in batch and batch['totalDelay'] > 2000:
batch_time = batch['batchTime']
GMT_FORMAT = '%Y-%m-%dT%H:%M:%S.000GMT'
batch_time_beijing = datetime.datetime.strptime(batch_time, GMT_FORMAT) + datetime.timedelta(hours=8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment