MCPcopy Create free account
hub / github.com/baidu/tera / UpdateWriteFlowController

Method UpdateWriteFlowController

src/tabletnode/tabletnode_sysinfo.cc:1281–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279}
1280
1281void TabletNodeSysInfo::UpdateWriteFlowController() {
1282 MutexLock lock(&mutex_);
1283 TsWriteFlowController::Instance().Append(info_->timestamp() / 1000, info_->write_size());
1284}
1285
1286} // namespace tabletnode
1287} // namespace tera

Callers 1

RefreshAndDumpSysInfoMethod · 0.80

Calls 2

timestampMethod · 0.80
AppendMethod · 0.45

Tested by

no test coverage detected