Commit 49602048 authored by Tomi Suomela's avatar Tomi Suomela

get_master_client(): don't crash on ssl connections

parent 454f90b7
...@@ -172,7 +172,7 @@ class BaseRedisCache(BaseCache): ...@@ -172,7 +172,7 @@ class BaseRedisCache(BaseCache):
kwargs['host'], kwargs['host'],
kwargs['port'], kwargs['port'],
kwargs['db'], kwargs['db'],
kwargs['unix_socket_path'], kwargs['unix_socket_path'] if not kwargs.get('ssl', False) else None,
)] )]
def create_client(self, server): def create_client(self, server):
......
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