aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/environment_variables.md
diff options
context:
space:
mode:
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 672be450b3..58a9270308 100644
--- a/doc/environment_variables.md
+++ b/doc/environment_variables.md
@@ -114,3 +114,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.