Automatic cleaning
This commit is contained in:
parent
fae28a35ec
commit
b76d66e095
1 changed files with 3 additions and 2 deletions
|
|
@ -147,6 +147,7 @@ abstract class AbstractQueueWorker extends AbstractWorker
|
|||
'trace' => array_slice($e->getTrace(), 0, 5),
|
||||
]
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -207,7 +208,7 @@ abstract class AbstractQueueWorker extends AbstractWorker
|
|||
/**
|
||||
* @param WorkerWorkItem $item
|
||||
*
|
||||
* @return WorkerWorkItem|WorkerWorkItem[]|null
|
||||
* @return null|WorkerWorkItem|WorkerWorkItem[]
|
||||
*/
|
||||
abstract protected function process(WorkerWorkItem $item);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue