Open lucasteligioridis opened 3 years ago
I've updated the wiki page to note that uniqueness does not work with the ActiveJob wrapper.
Is there any plans to support this? We're kind of relying on this feature in our stack.
Can you use Faktory::Job
? It has the exact same perform_later
API.
I'll speak to the team in regards to this, we were just hoping for a happy plug and play moment.
Might be okay to just use Faktory::Job
directly in this case though.
Unfortunately the fix is not easy. I will keep this open.
No problem 👍🏼 Thanks mate :)
Trying to do the below task in order to create unique jobs, as per: https://github.com/contribsys/faktory/wiki/Pro-Unique-Jobs
My job classes look something like:
It seems that there might be an issue with the
custom
object being passed in correctly utilisingActiveJob
vs nativeFaktory::Jobs
As you can see two identical jobs areenqueued
immediately after one another: