blob: 9bb9badd9b56fc5f64941bb72ba6c8d4831d0014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
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
# 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
|