diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-04-05 13:37:46 -0700 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-04-05 13:37:46 -0700 |
commit | e3e91a3d3f1fa5ee731d40253223587e68e4fc9b (patch) | |
tree | 0e596c4a880cc88972bcd4f00564447fcddc74d1 /include | |
parent | 506cfa69c78b0f00f1de2c0bbb1b8c1e2e22b72f (diff) | |
parent | 8e3b16cfd908ce45e4c3db921f1b88928ee63d07 (diff) |
Merge pull request #6033 from ctiller/channel_max_reconnect_backoff
Channel max reconnect backoff
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 e3e882c8b3..aba4217d6a 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -142,6 +142,8 @@ typedef struct { /** Secondary user agent: goes at the end of the user-agent metadata sent on each request */ #define GRPC_ARG_SECONDARY_USER_AGENT_STRING "grpc.secondary_user_agent" +/** The maximum time between subsequent connection attempts, in ms */ +#define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms" /* The caller of the secure_channel_create functions may override the target name used for SSL host name checking using this channel argument which is of type GRPC_ARG_STRING. This *should* be used for testing only. |