Commit 1a9841ca by ‘chizw’

[+]进程测试

1 parent 1da32563
...@@ -91,7 +91,8 @@ def select_process_all_end(): ...@@ -91,7 +91,8 @@ def select_process_all_end():
def select_time_out_task(): def select_time_out_task():
sql = ( sql = (
"select id,task_id,file_url,task_status from ali_asr_model_res aamr where aamr.del_flag = 0 " "select id,task_id,file_url,task_status from ali_asr_model_res aamr where aamr.del_flag = 0 "
"and aamr.output_data is null and aamr.execute_process_name is not null and exception_limit < 3 " "and aamr.output_data is null and exception_limit < 3 "
# "and aamr.execute_process_name is not null "
"and aamr.updated_time < TIMESTAMPADD(HOUR, -%s, NOW());" "and aamr.updated_time < TIMESTAMPADD(HOUR, -%s, NOW());"
) )
return pool.select_all(sql, (2)) return pool.select_all(sql, (2))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!