Parrhesia.Web.EventIngestLimiter
(parrhesia v0.12.0)
Copy Markdown
Relay-wide EVENT ingest rate limiting over a fixed time window.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec allow(GenServer.server()) :: :ok | {:error, :relay_event_rate_limited}
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: GenServer.on_start()