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 A then resource B. The other asked for B then A. I fired one request at each at the same time and neither ever came back. Not slow β I let it run for eight seconds and it would have sat there forever.
FastAPI 0.163.0 shipped on 14 November 2026 with a single feature: Depends(dependency, max_concurrency=N) , a per-dependency concurrency cap. I installed it the day it reached PyPI (I'm on 0.163.2, released three days later) and spent the morning trying to break it rather than just read the one new paragraph in the docs.
What it actually does
max_concurrency wraps a dependency in a semaphore.β¦