FastAPI 0.163 adds Depends(max_concurrency=…) to protect database pools. Learn shared limits, yield scope, choosing a number and avoiding deadlocks.