sidekiq-unique-jobs 7.0.9 → 7.0.10
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/sidekiq_unique_jobs/locksmith.rb +6 -2
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ca04978df51e42d3caff1ba4f1d76808063490e086ac127a0adca0a5f5c0582
|
4
|
+
data.tar.gz: 1a9eb7db31ff36c5e31a9574ea5c31691d4681026591e1357ef87a532d378eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 105ce9d2db36e66d2fa8bca1f17ccecd9e218ff72d739b915b8afef964d1434ef45d3aaf69ca527b05339f20d6dab8e1565bb9bbf5f55abc33a30f304dd3b0c0
|
7
|
+
data.tar.gz: a6fbf97428a828e66f9b30eb7c24ee82c2813d4fdac38eb192e931e1d4c75b1e53d84e9892812720ce4669f96f682c193b873bd30e20398c92e7d6b32eff858a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [Unreleased](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.8...HEAD)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- lock\_info set to true but no lock info showing up in web ui [\#589](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/589)
|
10
|
+
- Fix recording lock\_info [\#599](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/599) ([mhenrixon](https://github.com/mhenrixon))
|
11
|
+
|
3
12
|
## [v7.0.8](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.8) (2021-04-14)
|
4
13
|
|
5
14
|
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.7...v7.0.8)
|
@@ -199,7 +199,7 @@ module SidekiqUniqueJobs
|
|
199
199
|
def primed_async(conn)
|
200
200
|
return yield if Concurrent::Promises
|
201
201
|
.future(conn) { |red_con| pop_queued(red_con) }
|
202
|
-
.value(
|
202
|
+
.value(add_drift(config.ttl))
|
203
203
|
|
204
204
|
warn_about_timeout
|
205
205
|
end
|
@@ -317,7 +317,11 @@ module SidekiqUniqueJobs
|
|
317
317
|
# Add 2 milliseconds to the drift to account for Redis expires
|
318
318
|
# precision, which is 1 millisecond, plus 1 millisecond min drift
|
319
319
|
# for small TTLs.
|
320
|
-
(val
|
320
|
+
(val + 2).to_f * CLOCK_DRIFT_FACTOR
|
321
|
+
end
|
322
|
+
|
323
|
+
def add_drift(val)
|
324
|
+
val + drift(val)
|
321
325
|
end
|
322
326
|
|
323
327
|
#
|
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.
|
4
|
+
version: 7.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|