async-container 0.28.0 → 0.29.0
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/notify/client.rb +6 -0
- data/lib/async/container/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- 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: c768248159a5f1e95a387a176a66a4247e55034c08f7d2292a240f4566109a5b
|
|
4
|
+
data.tar.gz: 577db3dc26ed07b2fcfce8b85351d44a790a7141548c7434d9f1bc59a7c8a035
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cbc40f7cd5953f87db2d62bfbf31cf58e8f140fd13be99e7ecd217d1a6bc0953e8f48e3d6102fbd2da483d0833902047cf7d2d3e60ea2d8b5bc2105234399b2
|
|
7
|
+
data.tar.gz: fa97dea49c6334f47a2a09bb86f478e1890085d31ac9b28ab6fbb67d438140eccb3ff7c0b82001f7f8759b8a33ee581f073467e8092a1546c04d974e703c176c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -17,6 +17,12 @@ module Async
|
|
|
17
17
|
send(ready: true, **message)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
+
# Notify the parent controller that the child is healthy.
|
|
21
|
+
# @parameters message [Hash] Additional details to send with the message.
|
|
22
|
+
def healthy!(**message)
|
|
23
|
+
send(healthy: true, **message)
|
|
24
|
+
end
|
|
25
|
+
|
|
20
26
|
# Notify the parent controller that the child is reloading.
|
|
21
27
|
# @parameters message [Hash] Additional details to send with the message.
|
|
22
28
|
def reloading!(**message)
|
data/readme.md
CHANGED
|
@@ -26,6 +26,10 @@ Please see the [project documentation](https://socketry.github.io/async-containe
|
|
|
26
26
|
|
|
27
27
|
Please see the [project releases](https://socketry.github.io/async-container/releases/index) for all releases.
|
|
28
28
|
|
|
29
|
+
### v0.29.0
|
|
30
|
+
|
|
31
|
+
- Introduce `Client#healthy!` for sending health check messages.
|
|
32
|
+
|
|
29
33
|
### v0.28.0
|
|
30
34
|
|
|
31
35
|
- Add `startup_timeout` parameter to `spawn` and `run` methods for detecting processes that hang during startup and never become ready.
|
|
@@ -65,10 +69,6 @@ Please see the [project releases](https://socketry.github.io/async-container/rel
|
|
|
65
69
|
|
|
66
70
|
- Introduce `async:container:notify:log:ready?` task for detecting process readiness.
|
|
67
71
|
|
|
68
|
-
### v0.24.0
|
|
69
|
-
|
|
70
|
-
- Add support for health check failure metrics.
|
|
71
|
-
|
|
72
72
|
## Contributing
|
|
73
73
|
|
|
74
74
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|