Skip to content

Commit

Permalink
Config: etcd watchers (#4374)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyaksenov authored Jul 22, 2024
1 parent 692508b commit 9e72c46
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions doc/reference/configuration/configuration_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ If :ref:`replication.failover <configuration_reference_replication_failover>` is
* :ref:`config.etcd.ssl.verify_peer <config_etcd_ssl_verify_peer>`
* :ref:`config.etcd.http.request.timeout <config_etcd_http_request_timeout>`
* :ref:`config.etcd.http.request.unix_socket <config_etcd_http_request_unix_socket>`
* :ref:`config.etcd.watchers.reconnect_max_attempts <config_etcd_watchers_reconnect_max_attempts>`
* :ref:`config.etcd.watchers.reconnect_timeout <config_etcd_watchers_reconnect_timeout>`

.. _config_etcd_endpoints:

Expand Down Expand Up @@ -1028,6 +1030,33 @@ If :ref:`replication.failover <configuration_reference_replication_failover>` is
| Default: nil
| Environment variable: TT_CONFIG_ETCD_HTTP_REQUEST_UNIX_SOCKET
.. _config_etcd_watchers_reconnect_max_attempts:

.. confval:: config.etcd.watchers.reconnect_max_attempts

**Since:** :doc:`3.1.0 </release/3.1.0>`

The maximum number of attempts to reconnect to an etcd server in case of connection failure.

|
| Type: integer
| Default: nil
| Environment variable: TT_CONFIG_ETCD_WATCHERS_RECONNECT_MAX_ATTEMPTS
.. _config_etcd_watchers_reconnect_timeout:

.. confval:: config.etcd.watchers.reconnect_timeout

**Since:** :doc:`3.1.0 </release/3.1.0>`

The timeout (in seconds) between attempts to reconnect to an etcd server in case of connection failure.

|
| Type: number
| Default: nil
| Environment variable: TT_CONFIG_ETCD_WATCHERS_RECONNECT_TIMEOUT

.. _configuration_reference_config_storage:

config.storage.*
Expand Down

0 comments on commit 9e72c46

Please sign in to comment.