# server_timeout_client_connection

In a server-to-client connection, if the server does not receive a heartbeat for a period exceeding this limit (in seconds), it closes the connection.

    server_timeout_client_connection = limit

We recommend setting this value to approximately 3 times the heartbeat interval, as it is specified in `client_heartbeat_server`.

Note: If you do not set the `client_heartbeat_server` parameter when a `server_timeout_client_connection` is specified, a configuration error is generated during startup. If `CONFIG_ERRORS` is part of the `startup_abort_list`, the server will not start. If not, the error is printed but the server starts, and clients will be disconnected after `server_timeout_client_connection` seconds.

Zero is a special value, which disables heartbeat detection in the server (although clients still send heartbeats).

Copyright © Cloud Software Group, Inc. All rights reserved.