fix: use aclose during Redis cleanup

This commit is contained in:
agatha 2026-03-14 16:11:21 -04:00
parent ca58dd94db
commit aefe4e0bda

View File

@ -47,7 +47,7 @@ async def lifespan(app: FastAPI):
yield yield
# Cleanup # Cleanup
await redis.close() await redis.aclose()
await app.state.engine.dispose() await app.state.engine.dispose()