From dbec99498d9e3fc422ebcfd1a1bd78db33f73a3d Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 27 Oct 2016 18:50:10 -0400 Subject: [PATCH] run task manager tasks at lowest priority --- app/Console/Commands/RunTasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/RunTasks.php b/app/Console/Commands/RunTasks.php index efc85ce9d..3047dc54e 100644 --- a/app/Console/Commands/RunTasks.php +++ b/app/Console/Commands/RunTasks.php @@ -74,7 +74,7 @@ class RunTasks extends Command foreach ($tasks as &$task) { $bar->advance(); - $this->dispatch((new SendScheduledTask(Models\Server::findOrFail($task->server), $task))->onQueue('low')); + $this->dispatch((new SendScheduledTask(Models\Server::findOrFail($task->server), $task))->onQueue(env('QUEUE_LOW', 'low'))); } $bar->finish();