MCPcopy Create free account
hub / github.com/apache/brpc / get_min_concurrency

Function get_min_concurrency

test/bthread_setconcurrency_unittest.cpp:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147int get_min_concurrency() {
148 std::string ret;
149 GFLAGS_NAMESPACE::GetCommandLineOption("bthread_min_concurrency", &ret);
150 return atoi(ret.c_str());
151}
152
153TEST(BthreadTest, min_concurrency) {
154 ASSERT_EQ(1, set_min_concurrency(-1)); // set min success

Callers 1

TESTFunction · 0.85

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected