diff options
Diffstat (limited to 'redis/asyncio')
-rw-r--r-- | redis/asyncio/client.py | 2 | ||||
-rw-r--r-- | redis/asyncio/connection.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index 0e40ed7..6e66faa 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -106,7 +106,7 @@ class Redis( redis://[[username]:[password]]@localhost:6379/0 rediss://[[username]:[password]]@localhost:6379/0 - unix://[[username]:[password]]@/path/to/socket.sock?db=0 + unix://[username@]/path/to/socket.sock?db=0[&password=password] Three URL schemes are supported: diff --git a/redis/asyncio/connection.py b/redis/asyncio/connection.py index b64bd12..1288bb6 100644 --- a/redis/asyncio/connection.py +++ b/redis/asyncio/connection.py @@ -1194,7 +1194,7 @@ class ConnectionPool: redis://[[username]:[password]]@localhost:6379/0 rediss://[[username]:[password]]@localhost:6379/0 - unix://[[username]:[password]]@/path/to/socket.sock?db=0 + unix://[username@]/path/to/socket.sock?db=0[&password=password] Three URL schemes are supported: |