sidekiq-unique-jobs 7.0.0.beta3 → 7.0.0.beta4
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/lib/sidekiq_unique_jobs/orphans/reaper.rb +2 -6
- 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: c73d16cc7119474898230003931d398ee6f0e6b925117cbbf763cbb9b740edf1
|
4
|
+
data.tar.gz: 8371f1cf3bb123a5df3a603c3c67abb584d51cbb646b088d9c2e9593343f4672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4671e078b75e70a2f427229b2d8dbcf259a32a3f8b13ab61ed9963b9d63327b31834082724a5abd4b46a79867c51f8578a36178027f690cac442550b8fed5bfe
|
7
|
+
data.tar.gz: b0bda233fddf2ff36394702b6b074a09290690802a7dcea8fe4be3ff56d95f0a7641b75287ea71a3417e11c7df6578f2403d77a57a1d24187fc3c6cac0bc5890
|
@@ -178,14 +178,10 @@ module SidekiqUniqueJobs
|
|
178
178
|
Sidekiq.redis do |conn|
|
179
179
|
queues(conn) do |queue|
|
180
180
|
entries(conn, queue) do |entry|
|
181
|
-
if entry.include?(digest)
|
182
|
-
log_info("#{digest} found in #{queue}")
|
183
|
-
return true
|
184
|
-
end
|
181
|
+
return true if entry.include?(digest)
|
185
182
|
end
|
186
183
|
end
|
187
184
|
|
188
|
-
log_info("#{digest} not enqueued")
|
189
185
|
false
|
190
186
|
end
|
191
187
|
end
|
@@ -211,7 +207,7 @@ module SidekiqUniqueJobs
|
|
211
207
|
yield entry
|
212
208
|
end
|
213
209
|
|
214
|
-
deleted_size = initial_size -
|
210
|
+
deleted_size = initial_size - conn.llen(queue_key)
|
215
211
|
end
|
216
212
|
end
|
217
213
|
|
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.
|
4
|
+
version: 7.0.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|