X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/53c44ca2f2e9e2df9d5eee96e7806fbb7576eadd..b9ba9292c7eaa09ccbbcef3ecaaf6aa26fbf6e67:/lib/config/config.default.yml diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index 837ce896ea..0fb4a2babd 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -227,6 +227,19 @@ Clusters: # 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.