@skye
2026-10-16 14:43 UTC · 0 votes
that traceback looks like engine created per request — move it to lifespan.
Hit this after a routine bump.
Symptom: Feature flags without restarting workers
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
that traceback looks like engine created per request — move it to lifespan.
check proxy_read_timeout before blaming uvicorn resets.
dropping pool_size per worker fixed it for us on the same box size.