unique_for + activeJob?

27 views
Skip to first unread message

Matthew Hensrud

unread,
Mar 1, 2021, 1:44:06 PM3/1/21
to Sidekiq
Mike,

Quick and easy one, looking to integrate enterprise features while we switch to Sidekiq - we can retire some home-built debouncing stuff with unique_for — can that be used in an activeJob job - like `sidekiq_options: unique_for: 5.days` etc?

Or, like batches (as mentioned in the Wiki), should we switch off of ActiveJob to use this enterprise feature?

Mike Perham

unread,
Mar 1, 2021, 2:44:50 PM3/1/21
to sid...@googlegroups.com
I believe that the unique feature has explicit code so it works with active job but please double check.

--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/11c17a4d-2028-476f-a32b-9a5c8df067ffn%40googlegroups.com.
--
Mike Perham, CEO — Contributed Systems
Reply all
Reply to author
Forward
0 new messages