Skip to content

Commit

Permalink
pass username, passw
Browse files Browse the repository at this point in the history
  • Loading branch information
afeena committed Jan 15, 2022
1 parent 478f2a7 commit 4669dbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tanner/redis_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4669dbe

Please sign in to comment.