sidekiq-unique-jobs 7.1.3 → 7.1.5
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 +16 -2
- data/lib/sidekiq_unique_jobs/locksmith.rb +4 -1
- data/lib/sidekiq_unique_jobs/timing.rb +1 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e011d17753d5f02a95d186cec3972f62d19e96e74378d8846caf4769ce02a3f
|
4
|
+
data.tar.gz: 200879940bca1a29ecd4a7d081dc6b2f692b9f2b284b4b65d85a8cb21d2005bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d198d902e3ab61b5b5d61472c67d7d6282da29ecd4aaa78915768e7e58b8eb833ffbf53ae4bd3fb4685a86c925b84ff51fe1c30176dcd20c7309df56ce74587
|
7
|
+
data.tar.gz: 5967330190aa578cd87f82d839b4910cf5448682be87de8fa1a9ed8f8c3abf18be97e4ba1596e85b512649516f5b5f2f8c295f6db94ae8e7360c2f55ab9d1709
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v7.1.4](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.1.4) (2021-07-21)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.3...v7.1.4)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Pass lock timeout to primed\_async [\#624](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/624) ([millerjs](https://github.com/millerjs))
|
10
|
+
|
11
|
+
## [v7.1.3](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.1.3) (2021-07-20)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.2...v7.1.3)
|
6
14
|
|
7
15
|
**Fixed bugs:**
|
8
16
|
|
17
|
+
- Locks are not released: seeing 'Might need to be unlocked manually" warnings [\#594](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/594)
|
18
|
+
- Disable resurrector by default [\#623](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/623) ([mhenrixon](https://github.com/mhenrixon))
|
9
19
|
- Documentation fixes [\#622](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/622) ([ursm](https://github.com/ursm))
|
10
20
|
|
21
|
+
**Closed issues:**
|
22
|
+
|
23
|
+
- Lock until\_and\_while\_executing not working as expected [\#613](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/613)
|
24
|
+
|
11
25
|
**Merged pull requests:**
|
12
26
|
|
13
27
|
- Improve readme [\#621](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/621) ([mhenrixon](https://github.com/mhenrixon))
|
@@ -179,6 +179,9 @@ module SidekiqUniqueJobs
|
|
179
179
|
#
|
180
180
|
# Used to reduce some duplication from the two methods
|
181
181
|
#
|
182
|
+
# @see lock
|
183
|
+
# @see execute
|
184
|
+
#
|
182
185
|
# @param [Sidekiq::RedisConnection, ConnectionPool] conn the redis connection
|
183
186
|
# @param [Method] primed_method reference to the method to use for getting a primed token
|
184
187
|
#
|
@@ -238,7 +241,7 @@ module SidekiqUniqueJobs
|
|
238
241
|
def primed_async(conn, wait = nil, &block)
|
239
242
|
primed_jid = Concurrent::Promises
|
240
243
|
.future(conn) { |red_con| pop_queued(red_con, wait) }
|
241
|
-
.value(add_drift(wait || config.
|
244
|
+
.value(add_drift(wait || config.timeout))
|
242
245
|
|
243
246
|
handle_primed(primed_jid, &block)
|
244
247
|
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.1.
|
4
|
+
version: 7.1.5
|
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-07-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: '0'
|
263
263
|
requirements: []
|
264
|
-
rubygems_version: 3.
|
264
|
+
rubygems_version: 3.2.24
|
265
265
|
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: Sidekiq middleware that prevents duplicates jobs
|