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 @@ -177,6 +177,23 @@ whisk.spi {
177
177
.
178
178
.
179
179
```
180
+ #### Configure pause grace for the scheduler
181
+ Set the value of pause-grace to 10s by default
182
+
183
+ ** core/invoker/src/main/resources/application.conf**
184
+ ```
185
+ container-proxy {
186
+ timeouts {
187
+ # The "unusedTimeout" in the ContainerProxy,
188
+ #aka 'How long should a container sit idle until we kill it?'
189
+ idle-container = 10 minutes
190
+ pause-grace = 10 seconds
191
+ keeping-duration = 1 second
192
+ }
193
+ .
194
+ .
195
+ .
196
+ ```
180
197
181
198
#### Enable the scheduler
182
199
- 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