File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
core/invoker/src/main/resources Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,23 @@ Add a new dispatcher entry as follows.
189
189
.
190
190
.
191
191
```
192
+ #### Configure pause grace for the scheduler
193
+ Set the value of pause-grace to 10s by default
194
+
195
+ ** core/invoker/src/main/resources/application.conf**
196
+ ```
197
+ container-proxy {
198
+ timeouts {
199
+ # The "unusedTimeout" in the ContainerProxy,
200
+ #aka 'How long should a container sit idle until we kill it?'
201
+ idle-container = 10 minutes
202
+ pause-grace = 10 seconds
203
+ keeping-duration = 1 second
204
+ }
205
+ .
206
+ .
207
+ .
208
+ ```
192
209
193
210
#### Enable the scheduler
194
211
- Make sure you enable the scheduler by configuring ` scheduler_enable ` .
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ whisk {
154
154
# The "unusedTimeout" in the ContainerProxy,
155
155
#aka 'How long should a container sit idle until we kill it?'
156
156
idle-container = 10 minutes
157
- pause-grace = 50 milliseconds
157
+ pause-grace = 10 seconds
158
158
keeping-duration = 1 second
159
159
}
160
160
action-health-check {
You can’t perform that action at this time.
0 commit comments