use low priority queue for tasks
This commit is contained in:
parent
59c29dc3a6
commit
bb96039bf1
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class RunTasks extends Command
|
||||||
|
|
||||||
foreach ($tasks as &$task) {
|
foreach ($tasks as &$task) {
|
||||||
$bar->advance();
|
$bar->advance();
|
||||||
$this->dispatch(new SendScheduledTask(Models\Server::findOrFail($task->server), $task));
|
$this->dispatch((new SendScheduledTask(Models\Server::findOrFail($task->server), $task))->onQueue('low'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$bar->finish();
|
$bar->finish();
|
||||||
|
|
Loading…
Reference in a new issue