Browse Source

add queue prefix value

this PR goes along with https://github.com/laravel/framework/pull/18860
Andrew 7 years ago
parent
commit
d771ee6c8a
1 changed files with 14 additions and 0 deletions
  1. 14 0
      config/queue.php

+ 14 - 0
config/queue.php

@@ -17,6 +17,20 @@ return [
 
     'default' => env('QUEUE_DRIVER', 'sync'),
 
+    /*
+    |--------------------------------------------------------------------------
+    | Queue Prefix
+    |--------------------------------------------------------------------------
+    |
+    | If you are running multiple sites on a single server, you may experience
+    | crosstalk among sites if they use the same name for queue tubes. This
+    | optional value defines a prefix that will automatically be applied
+    | to queue tubes as a way to prevent this crosstalk.
+    |
+    */
+
+    'prefix' => env('QUEUE_PREFIX', ''),
+
     /*
     |--------------------------------------------------------------------------
     | Queue Connections