sidekiq-throttled
sidekiq-throttled copied to clipboard
Add docs for requeue strategy
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 98.71%. Comparing base (8010706) to head (3215f75).
:warning: Report is 4 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #214 +/- ##
=======================================
Coverage 98.71% 98.71%
=======================================
Files 19 19
Lines 467 467
Branches 79 79
=======================================
Hits 461 461
Misses 6 6
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Thank you!
Dumb question; Is this actually supported? I've tried using the latest main changes with the example from the doc and I get this error: unknown keyword: :requeue
sidekiq_throttle(
# Allow 5 jobs to processed within 1 minute, using the
threshold: { limit: 5, period: 1.minute, requeue: {with: :schedule} }
)