Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: ability to specify retry option #230

Open
guisehn opened this issue Jan 14, 2025 · 0 comments · May be fixed by #231
Open

feature request: ability to specify retry option #230

guisehn opened this issue Jan 14, 2025 · 0 comments · May be fixed by #231

Comments

@guisehn
Copy link

guisehn commented Jan 14, 2025

Sidekiq allows overwriting the amount of retries when enqueueing a job:

AwesomeJob.set(retry: 0).perform_async

It would be nice if we could validate this behavior with something like:

expect { code }.to enqueue_sidekiq_job(AwesomeJob).with_retry(0)
@guisehn guisehn linked a pull request Jan 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant