Skip to content

Commit cd96e49

Browse files
committed
docs: state ceiling ordering direction explicitly in UsageLimitPolicy contract
Signed-off-by: Luke Van Drie <lukevandrie@google.com>
1 parent 42117c3 commit cd96e49

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/epp/framework/interface/flowcontrol/plugins.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ type SaturationDetector interface {
148148
// considered on that call.
149149
//
150150
// Conformance: Implementations MUST ensure all methods are goroutine-safe. Returned ceilings MUST be
151-
// monotonically non-increasing in the given priority order: because the dispatch loop stops at the first
152-
// gated band, a lower band whose ceiling exceeds that of a higher band can be marked open on calls where
153-
// it is unreachable, starving it.
151+
// monotonically non-increasing in the given priority order (highest priority first): because the
152+
// dispatch loop stops at the first gated band, a lower band whose ceiling exceeds that of a higher band
153+
// can be marked open on calls where it is unreachable, starving it.
154154
type UsageLimitPolicy interface {
155155
plugin.Plugin
156156

0 commit comments

Comments
 (0)