mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 21:20:31 +00:00
perf: 定时清理异步任务记录
This commit is contained in:
parent
907dc3c088
commit
a9fc93882c
@ -60,7 +60,7 @@ class DeleteTmpTask extends AbstractTask
|
||||
/**
|
||||
* 表pre_task_worker
|
||||
*/
|
||||
case 'tw':
|
||||
case 'task_worker':
|
||||
{
|
||||
TaskWorker::onlyTrashed()
|
||||
->where('deleted_at', '<', Carbon::now()->subHours($this->hours)->toDateTimeString())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user