MCPcopy Create free account
hub / github.com/apache/brpc / MaxConcurrencyOf

Method MaxConcurrencyOf

src/brpc/server.cpp:2224–2229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2222}
2223
2224int Server::MaxConcurrencyOf(const MethodProperty* mp) const {
2225 if (mp == NULL || mp->status == NULL) {
2226 return 0;
2227 }
2228 return mp->max_concurrency;
2229}
2230
2231AdaptiveMaxConcurrency& Server::MaxConcurrencyOf(const butil::StringPiece& full_method_name) {
2232 do {

Callers 2

NotifyMethod · 0.80
TEST_FFunction · 0.80

Calls 2

seekMethod · 0.45
GetDescriptorMethod · 0.45

Tested by 1

TEST_FFunction · 0.64