Skip to content
Snippets Groups Projects
Commit 11396267 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

switch cache backend

parent b8d7419d
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ return [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'options' => [
'cluster' => 'redis',
'parameters' => [
'password' => env('CENTRAL_REDIS_PASSWORD', null),
......@@ -144,13 +144,32 @@ return [
'database' => env('REDIS_CACHE_DB', 0),
],
'sentinel' => [
[
'host' => env('REDIS_SENTINEL_HOST', 'localhost'),
'port' => env('REDIS_SENTINEL_PORT', 26379),
'password' => env('REDIS_SENTINEL_PASSWORD', ''),
],
'options' => [
'service' => env('REDIS_SENTINEL_SERVICE', 'metager'),
'replication' => 'sentinel',
'parameters' => [
'password' => env('REDIS_SENTINEL_PASSWORD', ''),
'database' => 0,
]
]
],
"clusters" => [
'clustercache' => [[
'host' => env('CENTRAL_REDIS_HOST', 'localhost'),
'password' => env('CENTRAL_REDIS_PASSWORD', null),
'port' => env('CENTRAL_REDIS_PORT', 6379),
'database' => 0,
]],
'clustercache' => [
[
'host' => env('CENTRAL_REDIS_HOST', 'localhost'),
'password' => env('CENTRAL_REDIS_PASSWORD', null),
'port' => env('CENTRAL_REDIS_PORT', 6379),
'database' => 0,
]
],
]
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment