Skip to content

Releases: mhenrixon/sidekiq-unique-jobs

Allow across worker uniqueness

23 Apr 09:58
Compare
Choose a tag to compare

Fix while_executing

23 Apr 09:56
Compare
Choose a tag to compare

Use a class level mutex for while_executing. The solution isn't perfect as any jobs will be allowed to be scheduled but at least they won't execute at the same time. The first one in will win and any succeeding jobs will wait until they get a chance.

The perfect way of handling this would be rescheduling or waiting or whatever after some time but that will be a future release.

See https://github.com/mhenrixon/sidekiq-unique-jobs#while-executing for more information.

Fix problem with installing the gem due to v5.0.3

23 Apr 09:54
Compare
Choose a tag to compare

Speed up gem installation

23 Apr 09:53
Compare
Choose a tag to compare
  • Removes test files and appraisals and such from the released gem version to speed up gem installs

More helpful error and debug messages

17 Apr 10:06
Compare
Choose a tag to compare

Before this change we crashed in some situations without telling what really happened. Now we will output a friendly message about why we crashed.

Clear the unique hash

16 Apr 18:00
Compare
Choose a tag to compare

To use it

bundle exec jobs expire

Drop support for Sidekiq < 4

08 Apr 20:36
Compare
Choose a tag to compare
v5.0.0

Style stuff

Allow running tests without redis

24 Jul 18:44
Compare
Choose a tag to compare
  • Allow running tests against mock_redis
  • Fix some problems with locks

All information about how to set it up can be found at https://github.com/mhenrixon/sidekiq-unique-jobs/tree/master/rails_example/spec/controllers/work_controller_spec.rb

Always run deletion of keys regardless on release_lock

02 Mar 17:30
Compare
Choose a tag to compare
  • Always release lock in the lua script release_lock.lua and return success #169
  • Rename aquire_lock to acquire_lock

Differentiate between run and queue lock timeouts

02 Mar 17:28
Compare
Choose a tag to compare
  • Allow run & queue lock timeout (expiration) to be different #164
  • Fix a bug with loading sidekiq test overrides (#167