thorneliu commented on PR #2273:
URL: https://github.com/apache/brpc/pull/2273#issuecomment-1590900611
Hi,
Since `Retry_backoff_policy` or 'Backoff_retry_policy' **IS A** Retry
policy, it is not a good idea
that both policy exist in channel,
```
, retry_policy(NULL)
, retry_backoff_policy(NULL)
```
It is better that retry_backoff_policy inherits basic interface in a manner
of :
```
class BackoffRetryPolicy : public RetryPolicy {
bool DoRetry(const Controller* controller) const {
// details in backoff policy
}
}
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]