You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is there a possibility to connect Jasmin to a redis cluster which accepts username and password. The current jasmin does not seem to support username based redis. As shown in the below code it has only option to pass host, port and password. Please suggest
if REDIS_URL is not None: # Take redis config from REDIS_URL env variable (used by heroku) self.password, self.host, self.port = \ re.search(r"^redis\:\/\/\:([a-z0-9]+)@((?!-)[-a-zA-Z0-9.]{1,63}(?<!-))\:(\d+)$", REDIS_URL).groups() else: self.host = self._get('redis-client', 'host', '127.0.0.1') self.port = self._getint('redis-client', 'port', 6379) self.password = self._get('redis-client', 'password', None)
The text was updated successfully, but these errors were encountered:
Hi,
Is there a possibility to connect Jasmin to a redis cluster which accepts username and password. The current jasmin does not seem to support username based redis. As shown in the below code it has only option to pass host, port and password. Please suggest
if REDIS_URL is not None: # Take redis config from REDIS_URL env variable (used by heroku) self.password, self.host, self.port = \ re.search(r"^redis\:\/\/\:([a-z0-9]+)@((?!-)[-a-zA-Z0-9.]{1,63}(?<!-))\:(\d+)$", REDIS_URL).groups() else: self.host = self._get('redis-client', 'host', '127.0.0.1') self.port = self._getint('redis-client', 'port', 6379) self.password = self._get('redis-client', 'password', None)
The text was updated successfully, but these errors were encountered: