去除多余的日志输出
This commit is contained in:
@@ -22,7 +22,7 @@ class ContentCollectJob
|
||||
// 如果任务执行成功后删除任务
|
||||
if ($this->processContentCollect($data, $job->attempts())) {
|
||||
$job->delete();
|
||||
Log::info('内容采集任务执行成功,内容库ID:' . $data['libraryId']);
|
||||
// 去除成功日志,减少日志空间消耗
|
||||
} else {
|
||||
if ($job->attempts() > 3) {
|
||||
// 超过重试次数,删除任务
|
||||
|
||||
Reference in New Issue
Block a user