MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / ThreadPools_SetMaxPendingWork

Function ThreadPools_SetMaxPendingWork

src/util/thpool/pools.c:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void ThreadPools_SetMaxPendingWork(uint64_t val) {
169 if(_readers_thpool != NULL) thpool_set_jobqueue_cap(_readers_thpool, val);
170 if(_writers_thpool != NULL) thpool_set_jobqueue_cap(_writers_thpool, val);
171}
172
173// returns a list of queued tasks that match the given handler
174// caller must free the returned list

Callers 2

reconf_handlerFunction · 0.85
ThreadPools_CreatePoolsFunction · 0.85

Calls 1

thpool_set_jobqueue_capFunction · 0.85

Tested by

no test coverage detected