sidekiq_snitch 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/workers/sidekiq/snitch.rb +3 -1
- data/lib/sidekiq_snitch/version.rb +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a23d9338c7add78178489b95875c80289c36fe86c2a8cc0b15d46e34dcda68a3
|
4
|
+
data.tar.gz: 7546dedde6668ae7c1ca03948b545a0a2936d4632c3d841011c1b01fb32b2640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e0025d8e48c79819a6f8a3294d7781ab31d30bd5a91070f52c088eb60fb7a577aaf6f1ecfc21f73dbf51e7f3c8845442ff7011a02f3c5c5767f1029d7e57388
|
7
|
+
data.tar.gz: bef116797866c0cf621dd3d15879e01fcc9652d60cb2c9557607c199ee6c03246288290d910ceefa831a15d74b4d16e5320dae2c7e135389a35410fc0dfbebad
|
@@ -12,8 +12,10 @@ module Sidekiq
|
|
12
12
|
if ENV['SIDEKIQ_SNITCH_URL'].present?
|
13
13
|
Net::HTTP.get(URI(ENV['SIDEKIQ_SNITCH_URL']))
|
14
14
|
|
15
|
+
minutes = (ENV['SIDEKIQ_SNITCH_MINUTES_DELAY'] || 60).to_i.minutes
|
16
|
+
|
15
17
|
# groundhog day!
|
16
|
-
Snitch.perform_in(
|
18
|
+
Snitch.perform_in(minutes) unless SidekiqSnitch.scheduled?
|
17
19
|
end
|
18
20
|
end
|
19
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_snitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joost Baaij
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -130,10 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
|
134
|
-
rubygems_version: 2.5.1
|
133
|
+
rubygems_version: 3.0.1
|
135
134
|
signing_key:
|
136
135
|
specification_version: 4
|
137
136
|
summary: Monitor Sidekiq using Dead Mans's Snitch
|
138
137
|
test_files: []
|
139
|
-
has_rdoc:
|