FastAPI 0.163's new dependency concurrency limit deadlocked two of my routes
DEV · 18.11.2026 · 11:00
Two routes in my test app each took one dependency that managed a shared resource, each capped to one concurrent user with FastAPI's new max_concurrency option. One route asked for resource…