X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e9ab67bb8788241d6ebbfbe74b5af36f4bd63dd8..4957ed9549811afa3ec4a3010f333e9046189acd:/lib/config/config.default.yml diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index a52d09f68b..0fb4a2babd 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -223,10 +223,23 @@ Clusters: # parameter higher than this value, this value is used instead. MaxItemsPerResponse: 1000 - # Maximum number of concurrent requests to accept in a single - # service process, or 0 for no limit. + # Maximum number of concurrent requests to process concurrently + # in a single service process, or 0 for no limit. MaxConcurrentRequests: 64 + # Maximum number of incoming requests to hold in a priority + # queue waiting for one of the MaxConcurrentRequests slots to be + # free. When the queue is longer than this, respond 503 to the + # lowest priority request. + # + # If MaxQueuedRequests is 0, respond 503 immediately to + # additional requests while at the MaxConcurrentRequests limit. + MaxQueuedRequests: 64 + + # Maximum time a "lock container" request is allowed to wait in + # the incoming request queue before returning 503. + MaxQueueTimeForLockRequests: 2s + # Fraction of MaxConcurrentRequests that can be "log create" # messages at any given time. This is to prevent logging # updates from crowding out more important requests.