async-container 0.27.6 → 0.27.7
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
- checksums.yaml.gz.sig +0 -0
- data/lib/async/container/generic.rb +3 -5
- data/lib/async/container/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e0f77eb0f6eb3e7e8f8971af4d653e5ff2c3243ecc12f8dd06b27ae27e09d45
|
|
4
|
+
data.tar.gz: 869aaa117d285f6f407b482b5fcd5b3bb19edcba215202d2faefe159195eed38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1eb59fda7b292a5ca70b15ea0b70af9d6f41551d9a4818f5820dbc9b078f3008d37f646e8cbcdc74428d3c359c9ec9e731b3b0b008a74922f379b700eda32e4
|
|
7
|
+
data.tar.gz: 301401ff8bcd736d2e41d1816110625ce038ff65b0a675d11e0ec900feb5550c73e6e754af9e5123dd12b692e4980deac1d197cbdad38e3a48213b38dd938171
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -180,12 +180,12 @@ module Async
|
|
|
180
180
|
|
|
181
181
|
fiber do
|
|
182
182
|
while @running
|
|
183
|
-
Console.
|
|
183
|
+
Console.debug(self, "Starting child...", child: {key: key, name: name, restart: restart, health_check_timeout: health_check_timeout}, statistics: @statistics)
|
|
184
184
|
|
|
185
185
|
child = self.start(name, &block)
|
|
186
186
|
state = insert(key, child)
|
|
187
187
|
|
|
188
|
-
Console.
|
|
188
|
+
Console.debug(self, "Started child.", child: child, spawn: {key: key, restart: restart, health_check_timeout: health_check_timeout}, statistics: @statistics)
|
|
189
189
|
|
|
190
190
|
# If a health check is specified, we will monitor the child process and terminate it if it does not update its state within the specified time.
|
|
191
191
|
if health_check_timeout
|
|
@@ -213,7 +213,7 @@ module Async
|
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
if status&.success?
|
|
216
|
-
Console.
|
|
216
|
+
Console.debug(self, "Child exited successfully.", status: status, running: @running)
|
|
217
217
|
else
|
|
218
218
|
@statistics.failure!
|
|
219
219
|
Console.error(self, "Child exited with error!", status: status, running: @running)
|
|
@@ -225,8 +225,6 @@ module Async
|
|
|
225
225
|
break
|
|
226
226
|
end
|
|
227
227
|
end
|
|
228
|
-
ensure
|
|
229
|
-
Console.info(self, "Child process management loop exited.", running: @running)
|
|
230
228
|
end.resume
|
|
231
229
|
|
|
232
230
|
return true
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|