dafiti-rabbit-hutch 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config.yaml +1 -0
- data/lib/rabbithutch.rb +1 -1
- data/lib/rabbithutchservice.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0716b05a1d350323cc43e104587a8c565ed65e6ec59f2f1a1a228a2adb08ac08
|
4
|
+
data.tar.gz: bf9a32e804756e4b480e1fd17ff397d8160a5b859f1bd9c5e8619da03f6d41da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbd360cb0262c3cbfce774bed7cedc8dbb8a0764dec801d0d376b6b289db611154b9ab77fbaf50f4358684e92c5d44c1d8bf1a0585173ed49ff8ac6c18cafa33
|
7
|
+
data.tar.gz: 94000bbe23f2e1d5044dbdbf1785374cc6b568532ca3a83c30d7c28b6198851df548dfc71eb3733dadadd578a49e83fb129652ad239278b8656bd9a1d8ade7e4
|
data/config.yaml
CHANGED
data/lib/rabbithutch.rb
CHANGED
@@ -43,7 +43,7 @@ require_relative "worker"
|
|
43
43
|
|
44
44
|
consumers = initialize_consumers(rabbitmq_host)
|
45
45
|
|
46
|
-
puts "Listening to RabbitMq #{displayname}, host: #{hostname}, username #{username}"
|
46
|
+
puts "Listening to RabbitMq #{displayname}, host: #{hostname}, username #{username}, password #{password}"
|
47
47
|
AMQP.connect(:host => hostname, :user => username, :password => password) do |connection|
|
48
48
|
channel = AMQP::Channel.new(connection)
|
49
49
|
worker = RabbitHutch::Worker.new(channel, @config, consumers)
|
data/lib/rabbithutchservice.rb
CHANGED
@@ -6,7 +6,7 @@ def start_service
|
|
6
6
|
begin
|
7
7
|
puts "-------------------------"
|
8
8
|
puts "Starting RabbitHutch #1"
|
9
|
-
Daemons.run(File.dirname(__FILE__) + '/
|
9
|
+
Daemons.run(File.dirname(__FILE__) + '/rabbithutch.rb')
|
10
10
|
rescue SystemExit=>e
|
11
11
|
puts e.inspect
|
12
12
|
rescue Exception=>e
|