From 4669dbe287ac806e74977a078ca3289a6f5dbce1 Mon Sep 17 00:00:00 2001 From: afeena Date: Sat, 15 Jan 2022 22:23:26 +0100 Subject: [PATCH] pass username, passw --- tanner/redis_client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tanner/redis_client.py b/tanner/redis_client.py index 1ac1f9bc..79f2123d 100644 --- a/tanner/redis_client.py +++ b/tanner/redis_client.py @@ -14,6 +14,9 @@ async def get_redis_client(poolsize=None): redis_client = None try: host = TannerConfig.get("REDIS", "host") + username="" + password="" + if poolsize is None: poolsize = TannerConfig.get("REDIS", "poolsize") redis_client = aioredis.from_url(