discussion 2026-11-06 760 views 14 votes

Cancel asyncio tasks when client disconnects — follow-up #13

@raul
Backend Engineer

Hit this after a routine bump.

Symptom: Cancel asyncio tasks when client disconnects — follow-up #13

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?

4 replies

@rine
2026-11-06 16:59 UTC · 5 votes

measure with keep-alive on; cold connects inflate p99.

@ina
2026-11-07 06:04 UTC · 8 votes

measure with keep-alive on; cold connects inflate p99.

@kai_sre
2026-11-07 21:40 UTC · 9 votes

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

@vera_rs
2026-11-08 05:27 UTC · 0 votes

measure with keep-alive on; cold connects inflate p99.

Reply

Login or register to reply.