solved 2026-10-05 1522 views 10 votes

Pydantic Settings secrets from Docker secrets file — follow-up #5

@vera_rs
Rust Engineer

Hit this after a routine bump.

Symptom: Pydantic Settings secrets from Docker secrets file — follow-up #5

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

@nik
2026-10-06 03:53 UTC · 5 votes

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

@rina_lab79
2026-10-06 09:56 UTC · 1 votes

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

@helen_go
2026-10-06 14:03 UTC · 3 votes

orjson helped CPU a few percent; DB still the ceiling.

@oz
2026-10-06 20:29 UTC · 8 votes

orjson helped CPU a few percent; DB still the ceiling.

Reply

Login or register to reply.