chenBright commented on code in PR #2820:
URL: https://github.com/apache/brpc/pull/2820#discussion_r1851241650
##########
src/brpc/server.h:
##########
@@ -417,6 +417,12 @@ class Server {
const google::protobuf::MethodDescriptor* method;
MethodStatus* status;
AdaptiveMaxConcurrency max_concurrency;
+ // ignore_eovercrowded on method-level, it should be used with
carefulness.
+ // It might introduce inbalance between methods,
+ // as some methods(ignore_eovercrowded=1) might never return
eovercrowded
+ // while other methods(ignore_eovercrowded=0) keep returning
eovercrowded.
+ // currently only valid for baidu_rpc, http_rpc, hulu_pbrpc and
sofa_pbrpc protocols
+ bool ignore_eovercrowded = false;
Review Comment:
统一在构造函数初始化吧
--
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]