yanglimingcn commented on code in PR #2824: URL: https://github.com/apache/brpc/pull/2824#discussion_r1851278146
########## src/bthread/bthread.cpp: ########## @@ -400,18 +400,16 @@ int bthread_setconcurrency_by_tag(int num, bthread_tag_t tag) { auto tag_ngroup = c->concurrency(tag); auto add = num - tag_ngroup; - if (add > 0) { + if (add >= 0) { Review Comment: 嗯,等于0,add_worker里面做了校验了,没啥问题。 -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org