Skip to main content

Module rate_limit

Module rate_limit 

Source
Expand description

Atomic rolling rate limits persisted independently of an application’s auth schema.

Structs§

RateLimitRow
One stored quota bucket.
SqlxRateLimitStorage
Shared database storage. Run SchemaMigrator::migrate before serving requests; ordinary auth migrations do not create or claim its table. Compare-and-swap predicates preserve quotas across independent application instances.