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