async-container 0.31.0 → 0.31.1
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 +7 -7
- 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: 46675ed8724779375aeccabec88625bb5f404c7f3ace7348c89acd5809133d8f
|
|
4
|
+
data.tar.gz: 697d47779954d8856ed75be18c60cb4907fc119c3bcbdecdbb95dcf2d6154d12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3151ea8a4abeaef64fa4b884587b0d0dd4a85ad8e041d5c912762bde0816ab4415e4f8ed7725f86606923f13e6630810e81ae3d74bfdfe4b92b1575ab8b948c
|
|
7
|
+
data.tar.gz: 6e07e869a01ecf5039a07de3a9b4a0ae1fce59d0bf498a9faadc3e94d4c3b6dc3bfa049ea166d5efc766e0a3bf4328f7c05f36a685e0acedcf078baa20887315
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -262,13 +262,6 @@ module Async
|
|
|
262
262
|
delete(key, child)
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
-
# Notify policy of exit
|
|
266
|
-
begin
|
|
267
|
-
@policy.child_exit(self, child, status: status, name: name, key: key)
|
|
268
|
-
rescue => error
|
|
269
|
-
Console.error(self, "Policy error in child_exit!", exception: error)
|
|
270
|
-
end
|
|
271
|
-
|
|
272
265
|
if status&.success?
|
|
273
266
|
Console.debug(self, "Child exited successfully.", status: status, running: @running)
|
|
274
267
|
else
|
|
@@ -276,6 +269,13 @@ module Async
|
|
|
276
269
|
Console.error(self, "Child exited with error!", status: status, running: @running)
|
|
277
270
|
end
|
|
278
271
|
|
|
272
|
+
# Notify policy of exit (after statistics are updated):
|
|
273
|
+
begin
|
|
274
|
+
@policy.child_exit(self, child, status: status, name: name, key: key)
|
|
275
|
+
rescue => error
|
|
276
|
+
Console.error(self, "Policy error in child_exit!", exception: error)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
279
|
if restart && @running
|
|
280
280
|
@statistics.restart!
|
|
281
281
|
else
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|