Skip to main content

Module limit

Module limit 

Source
Expand description

An in-memory token bucket per key (an email, an IP), to blunt password guessing. It resets when the daemon restarts, which is fine: the point is to make online guessing slow, and a restart is rare and visible.

Structsยง

Rate
burst attempts at once, then one every per_secs.
RateLimiter