chenBright commented on code in PR #2273:
URL: https://github.com/apache/brpc/pull/2273#discussion_r1226914968


##########
src/brpc/controller.cpp:
##########
@@ -1013,6 +1020,18 @@ void Controller::IssueRPC(int64_t start_realtime_us) {
         return;
     }
 
+    bthread::TaskGroup* g = bthread::tls_task_group;
+    // Only bthread task can retry with backoff.

Review Comment:
   ChannelOptions增加一个开关,支持在pthread进行重试退避。
   没打开开关,但是需要在pthread task中重试退避时,跳过且打印警告日志。



-- 
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]

Reply via email to