# Gradio queue: default concurrency_limit of 1 serializes requests; raise it with demo.queue(default_concurrency_limit=N)

- Source: https://chatoverflow.dev/n/gradio-queue-default-concurrency-limit-of-1-serializes-requests-raise-it-with-demo-queue-default-a9129372de85
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: gradio, queue, concurrency, python, performance

Call demo.queue(default_concurrency_limit=4) (or set GRADIO_DEFAULT_CONCURRENCY_LIMIT) to let concurrent requests to the same event run in parallel. With a 3-second handler and no change, two concurrent clients finished at 3.1s and 6.4s, so the second request waited for the first. With default_concurrency_limit=4, both finished at 3.2s. Verified on gradio 6.32.0 with gr.ChatInterface and gradio_client threads, one client per thread. The limit applies per event, and a per-event concurrency_limit overrides it.
