File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
core/invoker/src/main/resources Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ whisk:
52
52
require_api_key_annotation: "{{ require_api_key_annotation | default(true) | lower }}"
53
53
require_response_payload: "{{ require_response_payload | default(true) | lower }}"
54
54
cluster_name: "{{ whisk_cluster_name | default('whisk') }}"
55
+ containerProxy:
56
+ timeouts:
57
+ idleContainer: "{{ containerProxy_timeouts_idleContainer | default('10 minutes') }}"
58
+ pauseGrace: "{{ containerProxy_timeouts_pauseGrace | default('10 seconds') }}"
59
+ keepingDuration: "{{ containerProxy_timeouts_keepingDuration | default('10 minutes') }}"
55
60
56
61
##
57
62
# configuration parameters related to support runtimes (see org.apache.openwhisk.core.entity.ExecManifest for schema of the manifest).
Original file line number Diff line number Diff line change 282
282
" CONFIG_whisk_invoker_https_keystorePassword " : " {{ invoker.ssl.keystore.password }}"
283
283
" CONFIG_whisk_invoker_https_keystoreFlavor " : " {{ invoker.ssl.storeFlavor }}"
284
284
" CONFIG_whisk_invoker_https_clientAuth " : " {{ invoker.ssl.clientAuth }}"
285
+ " CONFIG_whisk_containerProxy_timeouts_idleContainer " : " {{ whisk.containerProxy.timeouts.idleContainer }}"
286
+ " CONFIG_whisk_containerProxy_timeouts_pauseGrace " : " {{ whisk.containerProxy.timeouts.pauseGrace }}"
287
+ " CONFIG_whisk_containerProxy_timeouts_keepingDuration " : " {{ whisk.containerProxy.timeouts.keepingDuration }}"
285
288
" CONFIG_whisk_containerPool_prewarmExpirationCheckInitDelay " : " {{ container_pool_prewarm_expirationCheckInitDelay | default('10 minutes') }}"
286
289
" CONFIG_whisk_containerPool_prewarmExpirationCheckInterval " : " {{ container_pool_prewarm_expirationCheckInterval | default('10 minutes') }}"
287
290
" CONFIG_whisk_containerPool_prewarmExpirationCheckIntervalVariance " : " {{ container_pool_prewarm_expirationCheckIntervalVariance | default('10 seconds') }}"
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ whisk {
156
156
#aka 'How long should a container sit idle until we kill it?'
157
157
idle-container = 10 minutes
158
158
pause-grace = 50 milliseconds
159
- keeping-duration = 1 second
159
+ keeping-duration = 10 minutes
160
160
}
161
161
action-health-check {
162
162
enabled = false # if true, prewarm containers will be pinged periodically and warm containers will be pinged once after resumed
You can’t perform that action at this time.
0 commit comments