MCPcopy Create free account
hub / github.com/apache/trafficserver / addBucket

Method addBucket

plugins/experimental/rate_limit/limiter.h:235–240  ·  view source on GitHub ↗

Add a rate bucket for this limiter

Source from the content-addressed store, hash-verified

233
234 // Add a rate bucket for this limiter
235 void
236 addBucket()
237 {
238 TSAssert(_rate > 0);
239 _bucket = BucketManager::getInstance().add(_rate);
240 }
241
242 // Reserve / release a slot from the active resource limits.
243

Callers 2

TSRemapNewInstanceFunction · 0.80
yamlParserMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected