Categories: None [Edit]

sidekiq-locking

https://rubygems.org/gems/sidekiq-locking
https://github.com/neetozone/sidekiq-locking
sidekiq-locking keeps only the first copy of a job in Redis while a short-lived lock is active. A duplicate enqueue for the same lock context (class, queue, args by default) is skipped until the original job succeeds or the lock_for TTL expires — whichever comes first. It is deliberately best-effort enqueue coalescing, not a correctness primitive or a runtime mutex: jobs must still be idempotent and protect true uniqueness with database constraints/locks where required. Opt a job in with `sidekiq_options lock_for: 5.minutes`; customize the dedup scope with a `lock_args` class method. No Rails or ActiveSupport required.

Total

Ranking: 183,447 of 197,051
Downloads: 1,950

Daily

Ranking: 67,605 of 197,010
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
158338,884,338sidekiq

Owners

#GravatarHandle
1iconm-vishnu