Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cloudflare/cloudflared
/ SetLimit
Method
SetLimit
flow/limiter.go:23–23 ·
view source on GitHub ↗
SetLimit allows to hot swap the limit value of the limiter.
(uint64)
Source
from the content-addressed store, hash-verified
21
Release()
22
// SetLimit allows to hot swap the limit value of the limiter.
23
SetLimit(uint64)
24
}
25
26
type
flowLimiter
struct
{
Callers
2
TestFlowLimiter_SetLimit
Function · 0.95
updateIngress
Method · 0.65
Implementers
3
flowLimiter
flow/limiter.go
MockLimiter
mocks/mock_limiter.go
MockLimiterMockRecorder
mocks/mock_limiter.go
Calls
no outgoing calls
Tested by
1
TestFlowLimiter_SetLimit
Function · 0.76