Skip to content

Commit d95cb7a

Browse files
committed
Change the value of pause-grace for new scheduler
1 parent 3e3414c commit d95cb7a

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
@@ -189,6 +189,23 @@ Add a new dispatcher entry as follows.
189189
.
190190
.
191191
```
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+
```
192209

193210
#### Enable the scheduler
194211
- 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
@@ -154,7 +154,7 @@ whisk {
154154
# The "unusedTimeout" in the ContainerProxy,
155155
#aka 'How long should a container sit idle until we kill it?'
156156
idle-container = 10 minutes
157-
pause-grace = 50 milliseconds
157+
pause-grace = 10 seconds
158158
keeping-duration = 1 second
159159
}
160160
action-health-check {

0 commit comments

Comments
 (0)