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

Method RenewMaster

phxqueue/scheduler/schedulermgr.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201comm::RetCode SchedulerMgr::RenewMaster(const uint64_t expire_time_ms) {
202 impl_->master_expire_time_ms = expire_time_ms;
203
204 return comm::RetCode::RET_OK;
205}
206
207bool SchedulerMgr::IsMaster() {
208 bool force{false};

Callers 1

KeepMasterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected