diff options
author | 2018-08-07 08:09:59 -0700 | |
---|---|---|
committer | 2018-08-07 08:09:59 -0700 | |
commit | 60069baa6a430f744338941ee91953f6bd9403ef (patch) | |
tree | 61f029b96c82db747a17ef433c20d8c56ebd71c4 /include/grpc/grpc.h | |
parent | b880b796eb7ba0cdf8e61069422afd423d92c53a (diff) | |
parent | f7e72560b664cce34bdf3c64b411cd6a153219ad (diff) |
Merge pull request #16225 from markdroth/reset_connection_backoff
Reset connection backoff
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r-- | include/grpc/grpc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 3245aa5580..348c7a316f 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -274,6 +274,11 @@ GRPCAPI char* grpc_channel_get_target(grpc_channel* channel); GRPCAPI void grpc_channel_get_info(grpc_channel* channel, const grpc_channel_info* channel_info); +/** EXPERIMENTAL. Resets the channel's connect backoff. + TODO(roth): When we see whether this proves useful, either promote + to non-experimental or remove it. */ +GRPCAPI void grpc_channel_reset_connect_backoff(grpc_channel* channel); + /** Create a client channel to 'target'. Additional channel level configuration MAY be provided by grpc_channel_args, though the expectation is that most clients will want to simply pass NULL. The user data in 'args' need only |