sidekiq-unique-jobs 7.0.0.beta12 → 7.0.0.beta13

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq-unique-jobs might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5099888d19251ef2ee0edc4cf6918d060faaeb3abc949b13bfb959f55dfdbb86
4
- data.tar.gz: 92114bd7aa7b7d2834e683aca81fdf58ad7e9b6b4b73717101eae406fcc80f4f
3
+ metadata.gz: ee531dc8e569045d893db038422c91d1b3fae6adaeee891088aa5d06764b4412
4
+ data.tar.gz: 23ebba9f66d7643ea856ba3cf69c41a8999daf0e866afa083791210646008663
5
5
  SHA512:
6
- metadata.gz: 42ecd0377617197773d37bd233191ec47bb4942338107f3251154b47d1148a60d963c722168dc4fd07af533886875383bc890376bbf4750ef39f2d94df66df90
7
- data.tar.gz: 3b4805fb012f2b0a12633e63136b5a0759afd67556865d2ca358e3a05715d75aa543ab2f8c5aa940c433ba44c02188e96e9718f710f5fe4b8dca62bf73d2c1ea
6
+ metadata.gz: 0bc357411a9707e391690ccc0610d185a20c01232f00de1e4e98fc76e3b4b6dc57c3da23bded7158c614d3446a64f81fa746ced7670f02cf10bf9d7053977a4e
7
+ data.tar.gz: 4519aca84a0a412f519249e49c0186bdab646cae1a0e730ffcc9e0cf9de3708abdf40a07cc04347c38f4cbb609f37f848b41d925b78244a44d672923f5511199
data/CHANGELOG.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/HEAD)
3
+ ## [v7.0.0.beta12](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta12) (2020-03-25)
4
4
 
5
- [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.20...HEAD)
5
+ [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.20...v7.0.0.beta12)
6
6
 
7
7
  **Fixed bugs:**
8
8
 
9
9
  - until\_expired is not setting TTL [\#468](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/468)
10
+ - Fix bug where expiration wasn't set until unlock [\#481](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/481) ([mhenrixon](https://github.com/mhenrixon))
10
11
 
11
12
  ## [v6.0.20](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.20) (2020-03-22)
12
13
 
@@ -65,9 +65,10 @@ redis.call("LREM", queued, -1, job_id)
65
65
  log_debug("LREM", primed, -1, job_id)
66
66
  redis.call("LREM", primed, -1, job_id)
67
67
 
68
- -- TODO: Check if there are other locks before removing
69
- log_debug("ZREM", digests, digest)
70
- redis.call("ZREM", digests, digest)
68
+ if limit and limit <= 1 and locked_count and locked_count <= 1 then
69
+ log_debug("ZREM", digests, digest)
70
+ redis.call("ZREM", digests, digest)
71
+ end
71
72
 
72
73
  local redis_version = toversion(redisversion)
73
74
  local del_cmd = "DEL"
@@ -3,5 +3,5 @@
3
3
  module SidekiqUniqueJobs
4
4
  #
5
5
  # @return [String] the current SidekiqUniqueJobs version
6
- VERSION = "7.0.0.beta12"
6
+ VERSION = "7.0.0.beta13"
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-unique-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.beta12
4
+ version: 7.0.0.beta13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-25 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brpoplpush-redis_script