MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / get_default_sql_pool_max_threads

Function get_default_sql_pool_max_threads

db/sqlpool.c:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186int get_default_sql_pool_max_threads(void)
187{
188 struct thdpool *pool = get_default_sql_pool(0);
189 return (pool != NULL) ? thdpool_get_maxthds(pool) : SQL_POOL_DEFLT_MAX_THREADS;
190}
191
192struct thdpool *get_default_sql_pool(int bCreate)
193{

Callers 1

comdb2_load_rulesetFunction · 0.85

Calls 2

get_default_sql_poolFunction · 0.85
thdpool_get_maxthdsFunction · 0.85

Tested by

no test coverage detected