diff options
author | 2017-04-18 09:19:30 -0700 | |
---|---|---|
committer | 2017-04-18 09:19:30 -0700 | |
commit | 1eeed856eec9962711efba4adbd15ad0685db212 (patch) | |
tree | c267f3aef5a09f9415123c66210d0003a31b9484 /include | |
parent | dd109da28038eb7b2b96a5fb6edcb4be33d6e13d (diff) | |
parent | f6a4d9fc271f0b12df3878ae1bcecd5cb438a117 (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.h | 2 |
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 */ |