MCPcopy 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
26type flowLimiter struct {

Callers 2

TestFlowLimiter_SetLimitFunction · 0.95
updateIngressMethod · 0.65

Implementers 3

flowLimiterflow/limiter.go
MockLimitermocks/mock_limiter.go
MockLimiterMockRecordermocks/mock_limiter.go

Calls

no outgoing calls

Tested by 1

TestFlowLimiter_SetLimitFunction · 0.76