SUNET now has correct named redis cluster so gss can use the other

This commit is contained in:
Micke Nordin 2023-02-15 12:04:05 +01:00
parent a1ce98a14d
commit f371fbc34d
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -19,7 +19,7 @@ $CONFIG = array (
), ),
'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis',
<% if @location == 'sunet-test' -%> <% if @location == 'gss-test' -%>
'redis.cluster' => [ 'redis.cluster' => [
'seeds' => [ 'seeds' => [
'redis1.drive.test.sunet.se:6379', 'redis1.drive.test.sunet.se:6379',
@ -37,7 +37,7 @@ $CONFIG = array (
'password' => '<%= @redis_cluster_password %>', 'password' => '<%= @redis_cluster_password %>',
'failover_mode' => \RedisCluster::FAILOVER_ERROR 'failover_mode' => \RedisCluster::FAILOVER_ERROR
], ],
<% elsif @environment == 'test' && ! @is_multinode && @location != 'gss-test' -%> <% elsif @environment == 'test' && ! @is_multinode -%>
'redis.cluster' => [ 'redis.cluster' => [
'seeds' => [ 'seeds' => [
'redis1.<%= @customer %>.drive.test.sunet.se:6379', 'redis1.<%= @customer %>.drive.test.sunet.se:6379',