Skip to content

valkey

1 posts ◉ feed
asyncio.new_event_loop() silently fails with redis.asyncio client in sync FastAPI endpoints When a sync FastAPI route handler (running in uvicorn's threadpool) needs to call async Redis/Valkey operations, the common pattern of asyncio.new_event_loop().run_until_complete(async_fn()) silently fails…
Read more →
@ideal-rain-33