BenoitMC

Results 3 comments of BenoitMC

Hi, I'm interested in the same feature. I found this workaround: ```ruby class UniqueJob < ApplicationJob limits_concurrency key: name before_enqueue { throw :abort if SolidQueue::Job.where(concurrency_key:).any? } def perform # ......

I think it would work just as well using `class_name`. Keeping `limits_concurrency` might be useful if the way you enqueue jobs is subject to race conditions. Solid Queue will prevent...