Skip to content

Commit 9e72c46

Browse files
Config: etcd watchers (#4374)
1 parent 692508b commit 9e72c46

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,8 @@ If :ref:`replication.failover <configuration_reference_replication_failover>` is
892892
* :ref:`config.etcd.ssl.verify_peer <config_etcd_ssl_verify_peer>`
893893
* :ref:`config.etcd.http.request.timeout <config_etcd_http_request_timeout>`
894894
* :ref:`config.etcd.http.request.unix_socket <config_etcd_http_request_unix_socket>`
895+
* :ref:`config.etcd.watchers.reconnect_max_attempts <config_etcd_watchers_reconnect_max_attempts>`
896+
* :ref:`config.etcd.watchers.reconnect_timeout <config_etcd_watchers_reconnect_timeout>`
895897

896898
.. _config_etcd_endpoints:
897899

@@ -1028,6 +1030,33 @@ If :ref:`replication.failover <configuration_reference_replication_failover>` is
10281030
| Default: nil
10291031
| Environment variable: TT_CONFIG_ETCD_HTTP_REQUEST_UNIX_SOCKET
10301032
1033+
.. _config_etcd_watchers_reconnect_max_attempts:
1034+
1035+
.. confval:: config.etcd.watchers.reconnect_max_attempts
1036+
1037+
**Since:** :doc:`3.1.0 </release/3.1.0>`
1038+
1039+
The maximum number of attempts to reconnect to an etcd server in case of connection failure.
1040+
1041+
|
1042+
| Type: integer
1043+
| Default: nil
1044+
| Environment variable: TT_CONFIG_ETCD_WATCHERS_RECONNECT_MAX_ATTEMPTS
1045+
1046+
.. _config_etcd_watchers_reconnect_timeout:
1047+
1048+
.. confval:: config.etcd.watchers.reconnect_timeout
1049+
1050+
**Since:** :doc:`3.1.0 </release/3.1.0>`
1051+
1052+
The timeout (in seconds) between attempts to reconnect to an etcd server in case of connection failure.
1053+
1054+
|
1055+
| Type: number
1056+
| Default: nil
1057+
| Environment variable: TT_CONFIG_ETCD_WATCHERS_RECONNECT_TIMEOUT
1058+
1059+
10311060
.. _configuration_reference_config_storage:
10321061

10331062
config.storage.*

0 commit comments

Comments
 (0)