-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Active Job #102
Comments
Same problem here. Anyone ? |
Meaning don't use active job if you need such functionality :) |
Actually, the code is working. The problem is that when you call Open the web panel and watch the schedules when you do: MyJob.set(wait: 1.minute).perform_later(1)
MyJob.set(wait: 1.minute).perform_later(1) It will schedule only one job. |
It seems that this unique initializer wont work with jobs that include set: Not sure how it could be connected. |
We actually dropped Activejob and start using plain Sidekiq jobs. It makes sense if you think that you're using too many specific Sidekiq things. |
Turns out that my problem was caused by something in version |
Turns out we had a migraine to get this integration (Active Job + Unique Jobs) working. We're moving to the good old Sidekiq + Unique Jobs integration. @mhenrixon could you please close this issue? |
I have been digging around with Active Job and I have had a hard time trying to find out how to use unique jobs with Active Job. The documentation on https://github.com/mhenrixon/sidekiq-unique-jobs#usage-with-activejob is not clear enough (not for me) and I haven't figured out how does this works.
There is no documentation outside this github page that explains this integration.
This in my config/initializers/sidekiq.rb
Can someone explain what
job_id
means?After adding it I'm still able to enqueue the same worker with the same parameters:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: