MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getMaxWorkers

Method getMaxWorkers

src/burp/BurpTasks.cpp:297–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297int BackupRelationTask::getMaxWorkers()
298{
299 unsigned int readers = m_items.getCount() - 1;
300
301 if (readers > (m_relation->rel_max_pp + 1))
302 readers = (m_relation->rel_max_pp + 1);
303
304 return 1 + readers;
305}
306
307IOBuffer* BackupRelationTask::getCleanBuffer(Item& item)
308{

Callers

nothing calls this directly

Calls 1

getCountMethod · 0.45

Tested by

no test coverage detected