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)

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