Skip to content

Commit

Permalink
explain method-level option
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxuechao committed Nov 14, 2024
1 parent b587e96 commit ab95b79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/brpc/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ 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.
bool ignore_eovercrowded = false;

MethodProperty();
Expand Down

0 comments on commit ab95b79

Please sign in to comment.