From c8bc79e94ee7f4a992d70faa5ec140a9059e603f Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Thu, 4 Apr 2019 15:11:18 +0100 Subject: [PATCH] Prefix redis database connection by default to mitigate multiple sites on the same server potentially sharing the same queued jobs --- config/database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/database.php b/config/database.php index 49ec59af..7560c66b 100644 --- a/config/database.php +++ b/config/database.php @@ -117,6 +117,7 @@ 'options' => [ 'cluster' => env('REDIS_CLUSTER', 'predis'), + 'prefix' => str_slug(env('APP_NAME', 'laravel'), '_').'_database', ], 'default' => [