summaryrefslogtreecommitdiff
path: root/redis/asyncio/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/asyncio/client.py')
-rw-r--r--redis/asyncio/client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py
index a7b888e..7479b74 100644
--- a/redis/asyncio/client.py
+++ b/redis/asyncio/client.py
@@ -139,8 +139,12 @@ class Redis(
arguments always win.
"""
+ single_connection_client = kwargs.pop("single_connection_client", False)
connection_pool = ConnectionPool.from_url(url, **kwargs)
- return cls(connection_pool=connection_pool)
+ return cls(
+ connection_pool=connection_pool,
+ single_connection_client=single_connection_client,
+ )
def __init__(
self,