10 lines
283 B
Elixir
10 lines
283 B
Elixir
defmodule Towerops.RateLimit do
|
|
@moduledoc """
|
|
Rate limiting module using Hammer with ETS backend.
|
|
|
|
Provides in-memory rate limiting for auth and API endpoints.
|
|
Buckets are automatically cleaned up based on the configured clean_period.
|
|
"""
|
|
|
|
use Hammer, backend: :ets
|
|
end
|