runlet v1.0.0 Runlet.Cmd.Abort
Abort pipeline if rate limit exceeded
Link to this section Summary
Functions
Places a maximum rate limit on an event stream. Exceeding the limit terminates the process.
Link to this section Functions
Link to this function
exec(stream, limit, seconds \\ 60)
exec(Enumerable.t(), pos_integer(), pos_integer()) :: Enumerable.t()
Places a maximum rate limit on an event stream. Exceeding the limit terminates the process.
# abort if number of events exceeds 5 in 2 minutes args: 5 120