Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/tera
/ InFlowControlMode
Method
InFlowControlMode
src/quota/flow_controller.h:87–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
bool InFlowControlMode() { return status_.load() == FlowControlStatus::kFlowControlMode; }
88
89
void BlockingConsume(uint64_t bytes) {
90
if (InFlowControlMode()) {
Callers
3
InSlowdownMode
Method · 0.80
SetSlowdownMode
Method · 0.80
ResetSlowdownMode
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected