Commit 5f29675a authored by chentianyu's avatar chentianyu

Merge remote-tracking branch 'origin/develop-2.2.0' into 2.2

parent 5d7f10d5
......@@ -14,7 +14,7 @@ class LogTraceQueue extends RedisQueueBatchHandler
protected function specifyQueueName()
{
$this->createLogTraceTable();
return env('APP_NAME').':LogTraceQueue';
return env('APP_NAME').'-LogTraceQueue';
}
protected function specifyRedisServer():Redis
......
......@@ -95,6 +95,7 @@ abstract class RedisQueueBatchHandler
}
}else{
$this->redis->lTrim($this->queue_name,count($arr),-1);
$this->retry = 0;
$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