sidekiq-throttled icon indicating copy to clipboard operation
sidekiq-throttled copied to clipboard

Add docs for requeue strategy

Open woodhull opened this issue 5 months ago • 1 comments

woodhull avatar Jun 16 '25 00:06 woodhull

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.

codecov[bot] avatar Jun 16 '25 00:06 codecov[bot]

Thank you!

ixti avatar Oct 01 '25 16:10 ixti

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} }
)

jondavidschober avatar Oct 16 '25 21:10 jondavidschober