chenBright commented on code in PR #2273: URL: https://github.com/apache/brpc/pull/2273#discussion_r1228335976
########## src/brpc/channel.h: ########## @@ -119,6 +120,17 @@ struct ChannelOptions { // Default: NULL const RetryPolicy* retry_policy; + // Backoff request before every retry. The interface + // is defined in src/brpc/retry_backoff.h + // This object is NOT owned by channel and should + // remain valid when channel is used. + // Default: NULL + const RetryBackoffPolicy* retry_backoff_policy; + // Enable retry backoff in pthread. + // Note it will block the pthread. + // Default: false + bool enable_retry_backoff_in_pthread; Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org