event-shipper 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/event_shipper/proxy.rb +5 -1
- data/lib/event_shipper/shipper.rb +5 -1
- metadata +2 -2
data/lib/event_shipper/proxy.rb
CHANGED
@@ -33,7 +33,11 @@ module EventShipper
|
|
33
33
|
host: redis_config['host'],
|
34
34
|
port: redis_config['port'])
|
35
35
|
|
36
|
-
|
36
|
+
begin
|
37
|
+
trap('SIGINFO') { puts transport.stats }
|
38
|
+
rescue ArgumentError
|
39
|
+
# unsupported signal SIGINFO
|
40
|
+
end
|
37
41
|
|
38
42
|
transport.dispatch { |queue, message|
|
39
43
|
# puts message }
|
@@ -31,7 +31,11 @@ module EventShipper
|
|
31
31
|
tailer
|
32
32
|
end
|
33
33
|
|
34
|
-
|
34
|
+
begin
|
35
|
+
trap('SIGINFO') { puts transport.stats }
|
36
|
+
rescue ArgumentError
|
37
|
+
# unsupported signal SIGINFO
|
38
|
+
end
|
35
39
|
|
36
40
|
# Block until everyone exits.
|
37
41
|
tailers.each do |tailer|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event-shipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|