yanglimingcn commented on issue #2582:
URL: https://github.com/apache/brpc/issues/2582#issuecomment-3424998882

   > concurrency
   
   每个Server可以设置不同的并发度
   brpc::ServerOptions options;
   options.max_concurrency = FLAGS_server1_concurrency;
   
   也可以实现一个gflags的validator,实现动态修改并发度。
   bool SetMaxConcurrencyOfServer1Validator(const char*, const int32_t value) {
     servers_map[tag].ResetMaxConcurrency(value);
     return true;
   }


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