Skip to main content
Feedback

Setting a delay interval for runtime shutdown

Set the amount of time a runtime pauses before shutting down.

Before you begin

You must have the Runtime Management privilege to perform this task. If you have the Runtime Management Read Access privilege, you cannot perform the task.

About this task

During the delay interval the runtime is still running, but the status endpoint \(http://<host\>:<port\>/\_admin/status\) returns an HTTP status code of 503 Service Unavailable. This status indicates that the runtime is not ready to accept new requests.

Procedure

  1. In the Manage menu, select Runtime Management.

  2. Select the runtime from the list on the left.

  3. In Settings & Configuration, click Properties.

  4. On the Advanced tab:

    1. Select the Runtime Pending Shutdown Delay property and click Add Property.

    2. In the hr (hours), min (minutes), sec (seconds), and/or ms (milliseconds) fields, type a value(s) to specify the amount of time that the runtime should pause.

      The default is 0 milliseconds, which means there is no delay before the runtime shuts down. There is no upper limit.

  5. Click Save.

    Because changes to this property do not take effect until the runtime is restarted, you are prompted to restart. You have the option to restart now or restart later.

On this Page