-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
"payload is not unique", but cannot find digest or scheduled job #335
Comments
Interesting, I think every 1 second is not such a good idea with uniqueness but I have to try it out before I give a definite answer. It seems like anything below 5 seconds would be giving you shady behavior. |
Thanks for the quick answer. The I think I remember that the job initially crashed and I restarted Sidekiq after that, now something got stuck. |
Just for clarification: the job is supposed to run every hour. I only did the I already tried restarting Sidekiq and the web server. |
sidekiq/sidekiq#3980 this is related to your initial problem. You might want to change to For now you should always get the same key: SidekiqUniqueJobs::Digests.del(digest: '07f59da973638b67cf8d63abaff6968c')
# OR
SidekiqUniqueJobs::Digests.del(digest: 'uniquejobs:07f59da973638b67cf8d63abaff6968c') I honestly don't remember from the top of my head how the code works right now. In the middle of moving to another country so brain is a little shattered. |
In the meantime I “fixed” it by deleting all Thanks for your quick help, and good luck with the move! |
Describe the bug
I am trying to schedule a job:
Expected behavior
I expect the job to be scheduled and executed.
Current behavior
The job is not scheduled; instead it returns:
When I filter the digests in the web view for
uniquejobs:07f59da973638b67cf8d63abaff6968c
, nothing is returned.I also don't see it schedule:
Worker class
The text was updated successfully, but these errors were encountered: