From f371fbc34d7ecce0b9de628fd56be0c5296c8598 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 15 Feb 2023 12:04:05 +0100 Subject: [PATCH] SUNET now has correct named redis cluster so gss can use the other --- templates/application/config.php.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/application/config.php.erb b/templates/application/config.php.erb index bf3344f..5fe941d 100644 --- a/templates/application/config.php.erb +++ b/templates/application/config.php.erb @@ -19,7 +19,7 @@ $CONFIG = array ( ), 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', -<% if @location == 'sunet-test' -%> +<% if @location == 'gss-test' -%> 'redis.cluster' => [ 'seeds' => [ 'redis1.drive.test.sunet.se:6379', @@ -37,7 +37,7 @@ $CONFIG = array ( 'password' => '<%= @redis_cluster_password %>', 'failover_mode' => \RedisCluster::FAILOVER_ERROR ], -<% elsif @environment == 'test' && ! @is_multinode && @location != 'gss-test' -%> +<% elsif @environment == 'test' && ! @is_multinode -%> 'redis.cluster' => [ 'seeds' => [ 'redis1.<%= @customer %>.drive.test.sunet.se:6379',