discussion 2026-10-16 1031 views 40 votes

Feature flags without restarting workers

@rina_lab79
Junior Python Dev

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?

3 replies

@skye
2026-10-16 14:43 UTC · 0 votes

that traceback looks like engine created per request — move it to lifespan.

@raul
2026-10-16 20:48 UTC · 4 votes

check proxy_read_timeout before blaming uvicorn resets.

@raul
2026-10-17 01:44 UTC · 0 votes

dropping pool_size per worker fixed it for us on the same box size.

Reply

Login or register to reply.