struct

MartenThrottle::Policy

Inherits Struct < Value < Object

Limit/window pair used by the opt-in default throttle policy.

Constructors

new(limit : Int32, window : Time::Span)
Source
new(*, limit : Int32, per : Time::Span)
Source
new(*, limit : Int32, window : Time::Span)
Source

Instance methods

limit
Source
window
Source