mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 08:42:14 -04:00
Fix Secondary Redis being ignored when the Primary Redis in inaccessible/down
This commit is contained in:
parent
d14c732a9f
commit
3c5785db37
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class IcingaRedis
|
|||
public static function getSecondaryRedis(Config $moduleConfig = null, Config $redisConfig = null)
|
||||
{
|
||||
if ($moduleConfig === null) {
|
||||
$moduleConfig = Config::module('redis');
|
||||
$moduleConfig = Config::module('icingadb');
|
||||
}
|
||||
|
||||
if ($redisConfig === null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue