summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/resources/configdefinitions/threadpool.def
blob: 36d15ca9bcaa9561c7ccb7751d00bacad3457b20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
version=1

namespace=container.handler

maxthreads int default=500

# The max time the container tolerates having no threads available before it shuts down to
# get out of a bad state. This should be set a bit higher than the expected max execution
# time of each request when in a state of overload, i.e about "worst case execution time*2"
maxThreadExecutionTimeSeconds int default=190