aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/environment_variables.md
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <y-zeng@users.noreply.github.com>2017-09-07 12:59:41 -0700
committerGravatar GitHub <noreply@github.com>2017-09-07 12:59:41 -0700
commitb6ef6e9ff5701d15a352f38a450de2af49d19657 (patch)
tree183bb602a29faf8717845fe894281e5c1711af90 /doc/environment_variables.md
parentf54af4832e08f317a05de909e88fdb38ace92cb0 (diff)
parentb5dd3abad9b38cbd39917543b3991acd6ec368a8 (diff)
Merge pull request #12080 from y-zeng/connectivity
Reconnect channels automatically in C++ clients
Diffstat (limited to 'doc/environment_variables.md')
-rw-r--r--doc/environment_variables.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/environment_variables.md b/doc/environment_variables.md
index a2cde92736..0123f3f25d 100644
--- a/doc/environment_variables.md
+++ b/doc/environment_variables.md
@@ -113,3 +113,11 @@ some configuration as environment variables that can be set.
- native (default)- a DNS resolver based around getaddrinfo(), creates a new thread to
perform name resolution
- ares - a DNS resolver based around the c-ares library
+
+* GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER
+ The channel connectivity watcher uses one extra thread to check the channel
+ state every 500 ms on the client side. It can help reconnect disconnected
+ client channels (mostly due to idleness), so that the next RPC on this channel
+ won't fail. Set to 1 to turn off this watcher and save a thread. Please note
+ this is a temporary work-around, it will be removed in the future once we have
+ support for automatically reestablishing failed connections.