Skip to content

Commit 577c9b4

Browse files
Update config/database.php to match the latest skeleton configuration (#56905)
1 parent 136f4eb commit 577c9b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

config/database.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@
160160
'password' => env('REDIS_PASSWORD'),
161161
'port' => env('REDIS_PORT', '6379'),
162162
'database' => env('REDIS_DB', '0'),
163+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
164+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
165+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
166+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
163167
],
164168

165169
'cache' => [
@@ -169,6 +173,10 @@
169173
'password' => env('REDIS_PASSWORD'),
170174
'port' => env('REDIS_PORT', '6379'),
171175
'database' => env('REDIS_CACHE_DB', '1'),
176+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
177+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
178+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
179+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
172180
],
173181

174182
],

0 commit comments

Comments
 (0)