diff --git a/ansible/README.md b/ansible/README.md index 3375fb9049a..777be4e47c9 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -177,6 +177,23 @@ whisk.spi { . . ``` +#### Configure pause grace for the scheduler +Set the value of pause-grace to 10s by default + +**core/invoker/src/main/resources/application.conf** +``` + container-proxy { + timeouts { + # The "unusedTimeout" in the ContainerProxy, + #aka 'How long should a container sit idle until we kill it?' + idle-container = 10 minutes + pause-grace = 10 seconds + keeping-duration = 10 minutes + } + . + . + . +``` #### Enable the scheduler - Make sure you enable the scheduler by configuring `scheduler_enable`. diff --git a/core/invoker/src/main/resources/application.conf b/core/invoker/src/main/resources/application.conf index 607ead6bf96..1624beb49d8 100644 --- a/core/invoker/src/main/resources/application.conf +++ b/core/invoker/src/main/resources/application.conf @@ -155,7 +155,7 @@ whisk { # The "unusedTimeout" in the ContainerProxy, #aka 'How long should a container sit idle until we kill it?' idle-container = 10 minutes - pause-grace = 50 milliseconds + pause-grace = 10 seconds keeping-duration = 10 minutes } action-health-check {