Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxsql
/ ApplyReadToken
Method
ApplyReadToken
phxsqlproxy/plugin/requestfilter/freqctrlconfig.cpp:52–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
bool FreqCtrlBucket::ApplyReadToken(int count) {
53
return ApplyToken(&db_bucket_struct_.read_bucket, count);
54
}
55
56
bool FreqCtrlBucket::ApplyWriteToken(int count) {
57
return ApplyToken(&db_bucket_struct_.write_bucket, count);
Callers
1
Apply
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected