diff options
author | Yuchen Zeng <zyc@google.com> | 2017-10-05 23:00:06 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-10-30 12:06:52 -0700 |
commit | b41014eeefa682c80d8bf48c720b23d00de29e03 (patch) | |
tree | f9729cb1cb238340365d21df0b3f1d3f132e9ea2 /doc | |
parent | 0bad30a244e060c602904bef3f3447558d9445fb (diff) |
Add GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
Diffstat (limited to 'doc')
-rw-r--r-- | doc/environment_variables.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/environment_variables.md b/doc/environment_variables.md index c5fb266498..0163235d63 100644 --- a/doc/environment_variables.md +++ b/doc/environment_variables.md @@ -120,10 +120,10 @@ some configuration as environment variables that can be set. 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. +* GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS + Default: 500 + Declares the interval between two backup polls on client channels. These polls + are run in the timer thread so that gRPC can process connection failures while + there is no active polling thread. They help reconnect disconnected client + channels (mostly due to idleness), so that the next RPC on this channel won't + fail. Set to 0 to turn off the backup polls. |