unique_job 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/unique_job/util.rb +1 -1
- data/lib/unique_job/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: b243c0d4dea6a7399aa0a41dd0f2164e60de12db4b964b49df4a1964c4ae35fc
|
4
|
+
data.tar.gz: 2a29407adb437d8cf3111aed035a2da17bb6da1147d086ad5d039a1880629fe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96526b267c18a5894593092aad3c9c455b657e3e81b251a8f55c77ec0c1f4034cc05f05797e0491c4ccaf51f985b1fb2b504af8dbe82a5a60d323905b4e63586
|
7
|
+
data.tar.gz: 653dba5f3c033debbd67e68d7aa3a79c15b0ca03c7488cc6113edfbff57c3199e7abdfa669fc932519fcc636a16174b03c109663674b16f4efd7d37569f567ca
|
data/Gemfile.lock
CHANGED
data/lib/unique_job/util.rb
CHANGED
@@ -24,7 +24,7 @@ module UniqueJob
|
|
24
24
|
history = job_history(worker)
|
25
25
|
|
26
26
|
if history.exists?(unique_key)
|
27
|
-
logger.info { "#{self.class}##{__method__} Skip duplicate job for #{history.ttl} seconds, remaining #{history.ttl(unique_key)} seconds worker=#{worker.class} args=#{truncate(args.inspect)}" }
|
27
|
+
logger.info { "#{self.class}##{__method__} Skip duplicate job for #{history.ttl} seconds, remaining #{history.ttl(unique_key)} seconds worker=#{worker.class} args=#{truncate(args.inspect)} key=#{unique_key}" }
|
28
28
|
|
29
29
|
perform_callback(worker, :after_skip, args)
|
30
30
|
|
data/lib/unique_job/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unique_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ts-3156
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|