MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / SetMaxHoldThreads

Method SetMaxHoldThreads

src/node/pnode.cpp:687–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685/////////////////////////////////////////////////////////////////////
686
687void PNode :: SetMaxHoldThreads(const int iGroupIdx, const int iMaxHoldThreads)
688{
689 if (!CheckGroupID(iGroupIdx))
690 {
691 return;
692 }
693
694 m_vecGroupList[iGroupIdx]->GetCommitter()->SetMaxHoldThreads(iMaxHoldThreads);
695}
696
697void PNode :: SetProposeWaitTimeThresholdMS(const int iGroupIdx, const int iWaitTimeThresholdMS)
698{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected