From 05bdffcd61f66292ddd16d8f16eeb03605a362c9 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 5 Feb 2022 19:05:18 +0200 Subject: [PATCH] ref: set redis as default option for env drivers setup (#3915) Redis is the recommended value yet the default options are different, e.g cache being file. --- config/cache.php | 2 +- config/queue.php | 2 +- config/session.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cache.php b/config/cache.php index 056522262..27276c200 100644 --- a/config/cache.php +++ b/config/cache.php @@ -14,7 +14,7 @@ return [ | */ - 'default' => env('CACHE_DRIVER', 'file'), + 'default' => env('CACHE_DRIVER', 'redis'), /* |-------------------------------------------------------------------------- diff --git a/config/queue.php b/config/queue.php index 326a575dd..02588bb3e 100644 --- a/config/queue.php +++ b/config/queue.php @@ -14,7 +14,7 @@ return [ | */ - 'default' => env('QUEUE_CONNECTION', env('QUEUE_DRIVER', 'database')), + 'default' => env('QUEUE_CONNECTION', env('QUEUE_DRIVER', 'redis')), /* |-------------------------------------------------------------------------- diff --git a/config/session.php b/config/session.php index 9d99eaf80..058528e5f 100644 --- a/config/session.php +++ b/config/session.php @@ -14,7 +14,7 @@ return [ | */ - 'driver' => env('SESSION_DRIVER', 'database'), + 'driver' => env('SESSION_DRIVER', 'redis'), /* |--------------------------------------------------------------------------