Commit a384b36a authored by Liu lu's avatar Liu lu

批处理进程调整

parent 8bb48c56
...@@ -95,6 +95,7 @@ abstract class RedisQueueBatchHandler ...@@ -95,6 +95,7 @@ abstract class RedisQueueBatchHandler
} }
}else{ }else{
$this->redis->lTrim($this->queue_name,count($arr),-1);
$this->retry = 0; $this->retry = 0;
$this->errorWriteToFile($formatArr,$exception); $this->errorWriteToFile($formatArr,$exception);
} }
......
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