Parrhesia.Web.IPEventIngestLimiter
(parrhesia v0.12.0)
Copy Markdown
Per-IP EVENT ingest rate limiting over a fixed time window.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec allow(tuple() | String.t() | nil, GenServer.server()) :: :ok | {:error, :ip_event_rate_limited}
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: GenServer.on_start()