class SidekiqUniqueJobs::Middleware::Server
@author Mikael Henriksson <mikael@mhenrixon.com>
The unique sidekiq middleware for the server processor
def call(*, &block)
- Yield: - when owning the lock
Yield: - when uniqueness is disabled
Other tags:
- See: https://github.com/mperham/sidekiq/wiki/Middleware -
See: https://github.com/mperham/sidekiq/wiki/Job-Format -
See: SidekiqUniqueJobs::Middleware#call -
def call(*, &block) lock_instance.execute(&block) end