Commit f7c311c6 authored by Liu lu's avatar Liu lu

日志批量更新优化

parent 161fb70e
...@@ -29,6 +29,8 @@ class LogTraceQueue extends RedisQueueBatchHandler ...@@ -29,6 +29,8 @@ class LogTraceQueue extends RedisQueueBatchHandler
if(isset($arr['is_completed'])&&$arr['is_completed']==YES){ if(isset($arr['is_completed'])&&$arr['is_completed']==YES){
$updateMarkComplete[]= $arr['request_id'] ;continue; $updateMarkComplete[]= $arr['request_id'] ;continue;
} }
$updateArr[$arr['request_id']]['request_id'] = $arr['request_id'];
$process_info = isset($updateArr[$arr['request_id']]['process_info'])? $process_info = isset($updateArr[$arr['request_id']]['process_info'])?
$updateArr[$arr['request_id']]['process_info']:''; $updateArr[$arr['request_id']]['process_info']:'';
......
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