Skip to main content

Module rate_limiter

Module rate_limiter 

Source
Expand description

Process-wide rate limiter for HTTP fetches across all Source impls.

See docs/SECURITY.md (per-session fetch flood mitigation) and docs/SOURCES.md §6 (Politeness defaults). The constants enforced here are the load-bearing safeguards from docs/LEGAL.md §6 safeguard 8.

Structs§

Permit
Held while a fetch is in flight; releases the concurrency slot on drop.
RateLimiter
Process-wide async rate limiter.