Configures the liveness probe performed between host and clients to detect and dispose stale clients. Clients not replying to the probe are removed.

interface LivenessConfig {
    interval: number;
    timeout: number;
}

Properties

Properties

interval: number

Interval (in seconds) at which liveness probes are performed between host and connected clients. Note that the interval must not be 0 and be greater than twice the timeout period to give a probe enough time to complete before performing a new probe.

By default, if not set, an interval of 60s is used.

timeout: number

Timeout (in seconds) after which a client is unregistered if not replying to the probe. Note that timeout must not be 0 and be less than half the interval period to give a probe enough time to complete before performing a new probe.

By default, if not set, a timeout of 10s is used.