aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-18 09:19:30 -0700
committerGravatar GitHub <noreply@github.com>2017-04-18 09:19:30 -0700
commit1eeed856eec9962711efba4adbd15ad0685db212 (patch)
treec267f3aef5a09f9415123c66210d0003a31b9484 /include
parentdd109da28038eb7b2b96a5fb6edcb4be33d6e13d (diff)
parentf6a4d9fc271f0b12df3878ae1bcecd5cb438a117 (diff)
Merge pull request #10237 from meliuz/configurable-minbackoff-reconnect
Make min_backoff_ms timeout configurable
Diffstat (limited to 'include')
-rw-r--r--include/grpc/impl/codegen/grpc_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h
index 06b67015e3..b5d637ed41 100644
--- a/include/grpc/impl/codegen/grpc_types.h
+++ b/include/grpc/impl/codegen/grpc_types.h
@@ -248,6 +248,8 @@ typedef struct {
/** Secondary user agent: goes at the end of the user-agent metadata
sent on each request. A string. */
#define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent"
+/** The minimum time between subsequent connection attempts, in ms */
+#define GRPC_ARG_MIN_RECONNECT_BACKOFF_MS "grpc.min_reconnect_backoff_ms"
/** The maximum time between subsequent connection attempts, in ms */
#define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms"
/** The time between the first and second connection attempts, in ms */