solved 2026-10-29 979 views 11 votes

Circuit breaker libraries that do not hide outages — follow-up #25

@rina_lab79
Junior Python Dev

Hit this after a routine bump.

Symptom: Circuit breaker libraries that do not hide outages — follow-up #25

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?

5 replies

@seth
2026-10-29 22:55 UTC · 8 votes

marking solved after we pinned the dependency and re-smoked /docs.

@sana
2026-10-30 18:23 UTC · 1 votes

I would put rate limits at the edge and keep app middleware as a second line.

@amira
2026-10-31 10:34 UTC · 8 votes

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

@rina_lab79
2026-10-31 23:29 UTC · 2 votes

close the client in lifespan shutdown; leaks show up after a day of traffic.

@helen_go
2026-11-01 04:02 UTC · 1 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

Reply

Login or register to reply.