aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-08-24 12:08:03 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-08-24 12:08:03 -0700
commitf1d50983ae61fe0be7a284b4cbd0beb287b0f6a8 (patch)
tree09a1500360d278ce3e383592bd334ee7340021ef /doc
parent33845d08d44483b20cb104d9f3a7355d912f6618 (diff)
Document GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER
Diffstat (limited to 'doc')
-rw-r--r--doc/environment_variables.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/environment_variables.md b/doc/environment_variables.md
index a2cde92736..bb351cbdcc 100644
--- a/doc/environment_variables.md
+++ b/doc/environment_variables.md
@@ -113,3 +113,9 @@ 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.