KEEP_ALIVE

Time out (in seconds) before shutting down a proxy that is no longer serving requests.

The proxy KEEP_ALIVE timeout is used to shut down the proxy that hasn't served any requests during the specified time. The KEEP_ALIVE element specifies how long (in seconds) the proxy waits with no request to process before determining whether to shut down.

If the KEEP_ALIVE entry is missing, the proxy will never shutdown. It also prevents the DVMs from running indefinitely in the unlikely event that the GAS dispatcher or the web server crashes.

Usage example

<KEEP_ALIVE>10</KEEP_ALIVE>

In this usage example, the proxy timeout is set to 10 seconds.

Parent elements

This element is a child of one of the following elements: SERVICE_APPLICATION_TIMEOUT_COMPONENT, TIMEOUT (for a service)