Browse Source

Merge branch 'queue-prefix' of https://github.com/browner12/laravel into browner12-queue-prefix

Taylor Otwell 7 years ago
parent
commit
743b13d952
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