Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

connect_timeout_* session settings

These settings are available in system.settings and are autogenerated from source.

connect_timeout

Type
Seconds
Default
10

Connection timeout if there are no replicas.

connect_timeout_with_failover_ms

Type
Milliseconds
Default
1000
Version history
VersionDefault valueComment
23.41000Increase default connect timeout because of async connect

The timeout in milliseconds for connecting to a remote server for a Distributed table engine, if the ‘shard’ and ‘replica’ sections are used in the cluster definition. If unsuccessful, several attempts are made to connect to various replicas.

connect_timeout_with_failover_secure_ms

Type
Milliseconds
Default
1000
Version history
VersionDefault valueComment
23.41000Increase default secure connect timeout because of async connect

Connection timeout for selecting first healthy replica (for secure connections).

Navigation