Skip to main content
These settings configure the ClickHouse server and are autogenerated from ClickHouse source.

tcp_close_connection_after_queries_num

Maximum number of queries allowed per TCP connection before the connection is closed. Set to 0 for unlimited queries.

tcp_close_connection_after_queries_seconds

Maximum lifetime of a TCP connection in seconds before it is closed. Set to 0 for unlimited connection lifetime.
Last modified on July 23, 2026