songkick_queue 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/songkick_queue.rb +2 -0
- data/lib/songkick_queue/client.rb +1 -1
- data/lib/songkick_queue/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95f2292a913226a784f1ef9ea3cda591a9896257
|
4
|
+
data.tar.gz: bf27251424bffe2522bf707a3a9cd12d6fe160e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022c599329cfa07ed2b823355b23b286ea4d5777c907d223753b2b96299e0c2ef80e856b4a6cb18b15f8331582d6ac22df36afd75753e9b3e2a5e0f35c2ecef2
|
7
|
+
data.tar.gz: 4f731f919c6190361d324821b1a64a4f61bf8c06d3793710640bdef7ac7be8827a97c16422bcb21942d8930322eb8b7c368996575ef0a8f08d9f4f3552bc68da
|
data/lib/songkick_queue.rb
CHANGED
@@ -23,6 +23,7 @@ module SongkickQueue
|
|
23
23
|
:max_reconnect_attempts,
|
24
24
|
:network_recovery_interval,
|
25
25
|
:requeue_rejected_messages,
|
26
|
+
:heartbeat_interval
|
26
27
|
)
|
27
28
|
|
28
29
|
TooManyReconnectAttemptsError = Class.new(StandardError)
|
@@ -37,6 +38,7 @@ module SongkickQueue
|
|
37
38
|
config.max_reconnect_attempts = 10
|
38
39
|
config.network_recovery_interval = 1.0
|
39
40
|
config.requeue_rejected_messages = false
|
41
|
+
config.heartbeat_interval = 10
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -34,7 +34,7 @@ module SongkickQueue
|
|
34
34
|
username: config.username,
|
35
35
|
password: config.password,
|
36
36
|
vhost: config.vhost,
|
37
|
-
heartbeat_interval:
|
37
|
+
heartbeat_interval: config.heartbeat_interval,
|
38
38
|
automatically_recover: true,
|
39
39
|
network_recovery_interval: config.network_recovery_interval,
|
40
40
|
recover_from_connection_close: true,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: songkick_queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Lucraft
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -161,4 +161,3 @@ test_files:
|
|
161
161
|
- spec/songkick_queue/worker_spec.rb
|
162
162
|
- spec/songkick_queue_spec.rb
|
163
163
|
- spec/spec_helper.rb
|
164
|
-
has_rdoc:
|