Add queue worker setting so those aren't run in cron if there's a worker

This commit is contained in:
Nabeel Shahzad
2021-05-21 12:31:32 -04:00
parent d3ec0f4de3
commit c94358350a
3 changed files with 31 additions and 10 deletions

View File

@@ -16,6 +16,11 @@ return [
'default' => env('QUEUE_DRIVER', 'sync'),
/**
* If you're using the queue worker, then disable running queued tasks via cron
*/
'worker' => env('QUEUE_WORKER', false),
/*
|--------------------------------------------------------------------------
| Queue Connections