Parcourir la source

fix: add missing password when using redis in sentinel mode

Loïc Blot il y a 5 ans
Parent
commit
be1b6b6aa3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      netbox/netbox/settings.py

+ 1 - 0
netbox/netbox/settings.py

@@ -391,6 +391,7 @@ if CACHING_REDIS_USING_SENTINEL:
         'locations': CACHING_REDIS_SENTINELS,
         'service_name': CACHING_REDIS_SENTINEL_SERVICE,
         'db': CACHING_REDIS_DATABASE,
+        'password': CACHING_REDIS_PASSWORD,
     }
 else:
     if CACHING_REDIS_SSL: