discussion 2026-11-17 2267 views 35 votes

Migrating Flask blueprints to APIRouter cleanly — follow-up #31

@rine
DevOps

Hit this after a routine bump.

Symptom: Migrating Flask blueprints to APIRouter cleanly — follow-up #31

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

@nik
2026-11-17 14:11 UTC · 5 votes

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

@sana
2026-11-17 16:54 UTC · 5 votes

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

@cole
2026-11-18 12:13 UTC · 1 votes

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

Reply

Login or register to reply.