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

shutdown exception problem. #1686

Closed
luisfernandos opened this issue May 3, 2014 · 1 comment
Closed

shutdown exception problem. #1686

luisfernandos opened this issue May 3, 2014 · 1 comment

Comments

@luisfernandos
Copy link

Hi,

For some reason sidekiq is shutting down. My worker is a long worker and doesn't exit in 5 secords. Sidekiq puts it back to be processed when Sidekiq cames back, however my worker has the retry=> false and the side effect I am seeing is that my worker keep trying and never ends. To get things worse this worker is sending emails ...
This behaviour doens't seem to be correct for me. My sidekiq version is (2.8.0) and ruby 1.9.3
Can you give me some hints? I don't really know why the system is shutting down, but puttin a worker with retry=>false back to redis doesn't seem correct, is it?

@mperham
Copy link
Collaborator

mperham commented May 3, 2014

:retry => false only applies to errors. Your job didn't raise an error so it doesn't apply.

Break your big email job into smaller batches of emails or one job per email.

@mperham mperham closed this as completed May 21, 2014
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

2 participants