Skip to content

Commit

Permalink
remove redis client connection in test_lifespan
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephRana11 committed Apr 1, 2024
1 parent cd982f7 commit 5dd8b47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions autonomous_agent_api/backend/app/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ async def lifespan(app: FastAPI):
@asynccontextmanager
async def test_lifespan(app: FastAPI):
log.debug("Execute FastAPI startup event handler.")
if settings.USE_REDIS:
await RedisClient.open_redis_client()

AiohttpClient.get_aiohttp_client()

Expand Down

0 comments on commit 5dd8b47

Please sign in to comment.