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

Retry Mechanism Failing in Sidekiq Jobs #15

Closed
juanmamaffei opened this issue Nov 29, 2023 · 1 comment
Closed

Retry Mechanism Failing in Sidekiq Jobs #15

juanmamaffei opened this issue Nov 29, 2023 · 1 comment

Comments

@juanmamaffei
Copy link

Description:

Sidekiq jobs are not retrying as expected when they fail. Despite setting the retry option, failed jobs do not re-attempt execution.

Steps to Reproduce:

  • Create a sample Sidekiq job that intentionally raises an error.
  • Set sidekiq_options with retry: 3.
  • Trigger the job and observe its behavior after failure.
  • Check the Sidekiq console to confirm if the job is not retrying.

Expected Behavior:

The job should automatically retry three times after an initial failure.

Actual Behavior:

The job does not retry after failing.

Environment:

  • Ruby version: 3.2.2
  • Rails version: 7.0.8
  • Sidekiq version: 7.2.0
  • PG RLS gem version: v0.1.4
@juanmamaffei
Copy link
Author

Solved on #17 . Thanks @Dandush03 !

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

No branches or pull requests

1 participant