celluloid-supervision 0.20.0.pre6 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23fdf38a81deae26b5dc2662f61121649736c0e2
|
4
|
+
data.tar.gz: 853b6aa1d716a24fa41659446926413b9e24153c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f064277afe5f405701058ae5a4a2db673be12aba830484aecae2777c01168d7db0f3768c9c92d2f94946f13d82d7abaea8879dd44a593eabc405ea6ec87867b0
|
7
|
+
data.tar.gz: 2baa6fbf05a6836419bc08c710de9e4f1791dd16eccfbdf97fb0d4c78d8d230134184f8329ac5260846625fe0ce49b9a9fecca31a33f6c0c4014fc086c40f5d1
|
@@ -35,7 +35,7 @@ module Celluloid
|
|
35
35
|
@registry.add(@name, @actor, @branch) if @name
|
36
36
|
invoke_injection(:after_start)
|
37
37
|
rescue Celluloid::TimeoutError => ex
|
38
|
-
Internals::Logger.error("TimeoutError at start of supervised
|
38
|
+
Internals::Logger.error("TimeoutError at start of supervised instance of #{@type}")
|
39
39
|
raise ex
|
40
40
|
# TODO: Implement timeout/retry.
|
41
41
|
# unless ( @retry += 1 ) <= INSTANCE_RETRY_LIMIT
|
@@ -44,6 +44,9 @@ module Celluloid
|
|
44
44
|
# Internals::Logger.warn("TimeoutError at start of supervised actor. Retrying in #{INSTANCE_RETRY_WAIT} seconds. ( Attempt #{@retry} of #{INSTANCE_RETRY_LIMIT} )")
|
45
45
|
# sleep INSTANCE_RETRY_WAIT
|
46
46
|
# retry
|
47
|
+
rescue => ex
|
48
|
+
Internals::Logger.error("Error ( #{ex.class} ) at start of supervised instance of #{@type}")
|
49
|
+
raise ex
|
47
50
|
end
|
48
51
|
|
49
52
|
def restart
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celluloid-supervision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.0
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- digitalextremist //
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-07-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +124,20 @@ dependencies:
|
|
124
124
|
- - '>='
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
name: guard-rspec
|
134
|
+
prerelease: false
|
135
|
+
type: :development
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
127
141
|
- !ruby/object:Gem::Dependency
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
129
143
|
requirements:
|
@@ -143,7 +157,7 @@ dependencies:
|
|
143
157
|
requirements:
|
144
158
|
- - '>='
|
145
159
|
- !ruby/object:Gem::Version
|
146
|
-
version: 0.17.0
|
160
|
+
version: 0.17.0
|
147
161
|
name: celluloid
|
148
162
|
prerelease: false
|
149
163
|
type: :development
|
@@ -151,7 +165,7 @@ dependencies:
|
|
151
165
|
requirements:
|
152
166
|
- - '>='
|
153
167
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.17.0
|
168
|
+
version: 0.17.0
|
155
169
|
- !ruby/object:Gem::Dependency
|
156
170
|
requirement: !ruby/object:Gem::Requirement
|
157
171
|
requirements:
|