Sfoglia il codice sorgente

Merge pull request #5753 from nerzhul/patch-1

fix: add missing password when using redis in sentinel mode
Jeremy Stretch 5 anni fa
parent
commit
89e6fd68e5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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: