fix(config): cast redis port into int (#7067)
This commit is contained in:
+2
-2
@@ -187,7 +187,7 @@ $db = [
|
||||
'url' => env('REDIS_URL'),
|
||||
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
'port' => (int) env('REDIS_PORT', 6379),
|
||||
'database' => env('REDIS_DB', env('REDIS_DATABASE', 0)),
|
||||
],
|
||||
|
||||
@@ -195,7 +195,7 @@ $db = [
|
||||
'url' => env('REDIS_URL'),
|
||||
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
'port' => (int) env('REDIS_PORT', 6379),
|
||||
'database' => env('REDIS_CACHE_DB', 1),
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user