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

Method SetBatchCount

src/node/pnode.cpp:782–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782void PNode :: SetBatchCount(const int iGroupIdx, const int iBatchCount)
783{
784 if (!CheckGroupID(iGroupIdx))
785 {
786 return;
787 }
788
789 if (m_vecProposeBatch.size() == 0)
790 {
791 return;
792 }
793
794 m_vecProposeBatch[iGroupIdx]->SetBatchCount(iBatchCount);
795}
796
797void PNode :: SetBatchDelayTimeMs(const int iGroupIdx, const int iBatchDelayTimeMs)
798{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected