Browse Source

use env value for redis queue name

It's common to have a redis queue name when having multiple queues/applications on the same instance. Default value is the same.
Ben Sampson 1 year ago
parent
commit
4525f36cac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/queue.php

+ 1 - 1
config/queue.php

@@ -60,7 +60,7 @@ return [
         'redis' => [
             'driver' => 'redis',
             'connection' => 'default',
-            'queue' => 'default',
+            'queue' => env('REDIS_QUEUE', 'default'),
             'retry_after' => 90,
             'block_for' => null,
         ],