Commit 18eaba97 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Fix redis config reading

parent 33ede209
Pipeline #20535 passed with stages
in 3 minutes and 44 seconds
......@@ -228,7 +228,7 @@ class RedisConfig(BaseConfig):
if parser.has_option(section, 'sentinel'):
self.sentinel = parser.getboolean(section, 'sentinel')
if parser.has_option(section, 'cluster'): = parser.get(section, 'cluster')
self.cluster = parser.get(section, 'cluster')
def read_env(self, prefix):
read_env_item(self, 'host', prefix + 'REDIS_HOST')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment