Module: XeroKiwi::Throttle
- Defined in:
- lib/xero_kiwi/throttle.rb,
lib/xero_kiwi/throttle/middleware.rb,
lib/xero_kiwi/throttle/null_limiter.rb,
lib/xero_kiwi/throttle/redis_token_bucket.rb
Overview
Proactive rate-limit coordination for multi-process callers hitting the same Xero tenant. The retry middleware in Client handles reactive 429s; this module blocks before a request goes out so 429s become rare.
See docs/throttling.md for the full story.
Defined Under Namespace
Classes: DailyLimitExhausted, Error, Middleware, NullLimiter, RedisTokenBucket, Timeout