coney_island 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/coney_island/version.rb +1 -1
- data/lib/coney_island/worker.rb +1 -6
- data/test/dummy/log/test.log +2 -0
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76e742c97fda43c894d74d2271471f06dd3ab8a4
|
|
4
|
+
data.tar.gz: 14858a4815472f83c0346d86af6a82caf5d8b88d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea993fbe28186e975eac5d50c65f79a8335bd93e198872dace4bdfb4f8b043e297fa3bb4e2cffd2aaf1ac15be296e38985e575be2a6bbbf35662124b2eba0896
|
|
7
|
+
data.tar.gz: bd2aff4673a26e0c27b38bfda01cdc33621682fd7d1b5db442a82d353a763373b782309d4f37c9b71c262cf262ccfcf38961b3f81c8bca34033c83bee5edda98
|
data/lib/coney_island/version.rb
CHANGED
data/lib/coney_island/worker.rb
CHANGED
|
@@ -97,12 +97,7 @@ module ConeyIsland
|
|
|
97
97
|
self.shutdown('TERM')
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
AMQP.connect(self.amqp_parameters
|
|
101
|
-
connection.on_tcp_connection_loss do |connection, settings|
|
|
102
|
-
# since we lost the connection, rabbitMQ will resend all jobs we didn't finish
|
|
103
|
-
# so drop them and restart
|
|
104
|
-
self.abandon_and_shutdown
|
|
105
|
-
end
|
|
100
|
+
AMQP.connect(self.amqp_parameters) do |connection|
|
|
106
101
|
self.log.info("Connected to AMQP broker. Running #{AMQP::VERSION}")
|
|
107
102
|
@channel = AMQP::Channel.new(connection)
|
|
108
103
|
@exchange = @channel.topic('coney_island')
|
data/test/dummy/log/test.log
CHANGED
|
@@ -10,3 +10,5 @@ Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
|
|
10
10
|
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
|
11
11
|
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
|
12
12
|
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
|
13
|
+
ConeyIsland::Submitter.submit! about to iterate over this many jobs: 1
|
|
14
|
+
Failed to connecto to RabbitMQ Attempt #1 time(s), trying again in 0 seconds...
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coney_island
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Draut
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-01-
|
|
12
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -57,16 +57,16 @@ dependencies:
|
|
|
57
57
|
name: eventmachine
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
|
-
- -
|
|
60
|
+
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
62
|
+
version: '0'
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
69
|
+
version: '0'
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
name: sqlite3
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|