HexToString opened a new issue #1513: URL: https://github.com/apache/incubator-brpc/issues/1513
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**某些情况下,需要Server端设置并发数量为2  ![Uploading image.png…]()**Describe the solution you'd like (描述你期望的解决方法)** 可以看到我们代码中要求--bthread_concurrency 必须设置大于等于types.h头文件中的BTHREAD_MIN_concurrency = 3+1 =4 那意味着用户--bthread_concurrency 传入的数字必须大于等于4. 可否把这个自由度开放给用户呢?允许用户最少设置为2. 因为当用户不设置的时候,并发度为8+1,当用户需要自己设定的时候,用户应该知道自己的需求。 **Describe alternatives you've considered (描述你想到的折衷方案)** 修改src/bthread/types.h文件中的相关地方。 **Additional context/screenshots (更多上下文/截图)** -- 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]
