Spaces:
Build error
Build error
Update core/db/redis_session.py
Browse files- core/db/redis_session.py +1 -0
core/db/redis_session.py
CHANGED
@@ -9,6 +9,7 @@ class RedisClient:
|
|
9 |
self.db = db
|
10 |
|
11 |
async def initialize(self):
|
|
|
12 |
self.client = await aioredis.create_redis_pool(
|
13 |
f"redis://{settings.REDIS_HOST}",
|
14 |
db=self.db,
|
|
|
9 |
self.db = db
|
10 |
|
11 |
async def initialize(self):
|
12 |
+
print("Redis Client --------->"+ str(self.db))
|
13 |
self.client = await aioredis.create_redis_pool(
|
14 |
f"redis://{settings.REDIS_HOST}",
|
15 |
db=self.db,
|