SUNET now has correct named redis cluster so gss can use the other
This commit is contained in:
parent
a1ce98a14d
commit
f371fbc34d
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue