Skip to content

Commit 64b16c2

Browse files
committed
revert to old redis config
1 parent ea7fc0b commit 64b16c2

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

config/database.php

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -119,24 +119,18 @@
119119
'cluster' => env('REDIS_CLUSTER', 'predis'),
120120
],
121121

122-
'clusters' => [
123-
'default' => [
124-
[
125-
'host' => env('REDIS_HOST', '127.0.0.1'),
126-
'password' => env('REDIS_PASSWORD', null),
127-
'port' => env('REDIS_PORT', 6379),
128-
'database' => env('REDIS_DB', 0),
129-
],
130-
],
131-
132-
'cache' => [
133-
[
134-
'host' => env('REDIS_HOST', '127.0.0.1'),
135-
'password' => env('REDIS_PASSWORD', null),
136-
'port' => env('REDIS_PORT', 6379),
137-
'database' => env('REDIS_CACHE_DB', 1),
138-
],
139-
],
122+
'default' => [
123+
'host' => env('REDIS_HOST', '127.0.0.1'),
124+
'password' => env('REDIS_PASSWORD', null),
125+
'port' => env('REDIS_PORT', 6379),
126+
'database' => env('REDIS_DB', 0),
127+
],
128+
129+
'cache' => [
130+
'host' => env('REDIS_HOST', '127.0.0.1'),
131+
'password' => env('REDIS_PASSWORD', null),
132+
'port' => env('REDIS_PORT', 6379),
133+
'database' => env('REDIS_CACHE_DB', 1),
140134
],
141135

142136
],

0 commit comments

Comments
 (0)