Skip to content

Commit 1708a20

Browse files
committed
Change the value of pause-grace for new scheduler
1 parent 8d31e96 commit 1708a20

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

ansible/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,23 @@ whisk.spi {
177177
.
178178
.
179179
```
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 = 10 minutes
192+
}
193+
.
194+
.
195+
.
196+
```
180197

181198
#### Enable the scheduler
182199
- Make sure you enable the scheduler by configuring `scheduler_enable`.

core/invoker/src/main/resources/application.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ whisk {
155155
# The "unusedTimeout" in the ContainerProxy,
156156
#aka 'How long should a container sit idle until we kill it?'
157157
idle-container = 10 minutes
158-
pause-grace = 50 milliseconds
158+
pause-grace = 10 seconds
159159
keeping-duration = 10 minutes
160160
}
161161
action-health-check {

0 commit comments

Comments
 (0)