MCPcopy Create free account
hub / github.com/Tencent/phxqueue / InitMasterRate

Method InitMasterRate

phxqueue/lock/keepmasterthread.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117comm::RetCode KeepMasterThread::InitMasterRate() {
118 impl_->master_rate = 100;
119
120 QLInfo("masterrate %d", impl_->master_rate);
121
122 return comm::RetCode::RET_OK;
123}
124
125comm::RetCode KeepMasterThread::AdjustMasterRate() {
126 const int topic_id{impl_->lock->GetTopicID()};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected