Skip to content

Commit aef7033

Browse files
committed
update config
1 parent 895e2ce commit aef7033

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
@@ -158,6 +158,10 @@
158158
'password' => env('REDIS_PASSWORD'),
159159
'port' => env('REDIS_PORT', '6379'),
160160
'database' => env('REDIS_DB', '0'),
161+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
162+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
163+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
164+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
161165
],
162166

163167
'cache' => [
@@ -167,6 +171,10 @@
167171
'password' => env('REDIS_PASSWORD'),
168172
'port' => env('REDIS_PORT', '6379'),
169173
'database' => env('REDIS_CACHE_DB', '1'),
174+
'max_retries' => env('REDIS_MAX_RETRIES', 3),
175+
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
176+
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
177+
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
170178
],
171179

172180
],

0 commit comments

Comments
 (0)