yanglimingcn commented on code in PR #2824: URL: https://github.com/apache/brpc/pull/2824#discussion_r1851215640
########## 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也走到这个逻辑,是为了返回0吗? -- 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