View Source Runlet.Cmd.Abort (runlet v1.2.1)

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)

View Source

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
  abort 5 120