diff options
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/abi-spec.json | 4 | ||||
-rw-r--r-- | container-core/src/main/resources/configdefinitions/threadpool.def | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/container-core/abi-spec.json b/container-core/abi-spec.json index f0d7f4068be..ce567176679 100644 --- a/container-core/abi-spec.json +++ b/container-core/abi-spec.json @@ -172,6 +172,7 @@ "public void <init>(com.yahoo.container.handler.ThreadpoolConfig)", "public com.yahoo.container.handler.ThreadpoolConfig$Builder maxthreads(int)", "public com.yahoo.container.handler.ThreadpoolConfig$Builder maxThreadExecutionTimeSeconds(int)", + "public com.yahoo.container.handler.ThreadpoolConfig$Builder softStartSeconds(double)", "public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance$Producer)", "public final java.lang.String getDefMd5()", "public final java.lang.String getDefName()", @@ -209,7 +210,8 @@ "public static java.lang.String getDefVersion()", "public void <init>(com.yahoo.container.handler.ThreadpoolConfig$Builder)", "public int maxthreads()", - "public int maxThreadExecutionTimeSeconds()" + "public int maxThreadExecutionTimeSeconds()", + "public double softStartSeconds()" ], "fields": [ "public static final java.lang.String CONFIG_DEF_MD5", diff --git a/container-core/src/main/resources/configdefinitions/threadpool.def b/container-core/src/main/resources/configdefinitions/threadpool.def index 5b5e7e2f4a2..9bb9badd9b5 100644 --- a/container-core/src/main/resources/configdefinitions/threadpool.def +++ b/container-core/src/main/resources/configdefinitions/threadpool.def @@ -8,3 +8,8 @@ maxthreads int default=500 # 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 + +# Length of period for soft start +# During this period number of availble threads will be gradually increased. +# Currently used to avoid feeding overload in container during cold start. +softStartSeconds double default=0 |