Mosquito::RateLimiter
Instance methods
increment_run_count_by
How much the run counter should be incremented by. Implemented as a dynamic method so that it can easily be calculated by some other metric, eg api calls to a third party library.
Configure the reschedule interval so that the job_run is not run again until it should be allowed through the rate limiter.
Configure the rescheduler to always retry if a job is rate limited.
window_expires_at
When does the current rate limit window expire? Returns nil if the window is already expired.