MCPcopy Create free account
hub / github.com/couchbase/cbft / getBucketScopeKey

Function getBucketScopeKey

limits.go:407–409  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Generates key to use for rateLimiter's indexCache map.

(bucket, scope string)

Source from the content-addressed store, hash-verified

405
406// Generates key to use for rateLimiter's indexCache map.
407func getBucketScopeKey(bucket, scope string) string {
408 return bucket + ":" + scope
409}
410
411// -----------------------------------------------------------------------------
412

Callers 3

limitIndexDefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected