From f1d50983ae61fe0be7a284b4cbd0beb287b0f6a8 Mon Sep 17 00:00:00 2001 From: Yuchen Zeng Date: Thu, 24 Aug 2017 12:08:03 -0700 Subject: Document GRPC_DISABLE_CHANNEL_CONNECTIVITY_WATCHER --- doc/environment_variables.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/environment_variables.md') 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. -- cgit v1.2.3