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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b600b0cd62cf8c6ba832a6022ba2e2aeca1709264b696277fe11055074d36ea3
4
- data.tar.gz: 456e1cfb343619036dfb70ac693f302b3a0dc61c0a1e3d698544c5632fabb7f8
3
+ metadata.gz: c768248159a5f1e95a387a176a66a4247e55034c08f7d2292a240f4566109a5b
4
+ data.tar.gz: 577db3dc26ed07b2fcfce8b85351d44a790a7141548c7434d9f1bc59a7c8a035
5
5
  SHA512:
6
- metadata.gz: e72593aa02a1ad84c7223d178cf6f89bd9dbd8387539a0c77c50bcec9ac03a118a978cc3e87544b850cdeebb6a1d3925ddcee01e3866129cd8a395aae586f056
7
- data.tar.gz: 24e370fbd183a791179cb7fbd6089e513bbdf1767af8fc955cf3e6690c937f075a2cb255915172bb46d1dc08d6995595deaf3e6d3fc39cf643a558d21e14bd7d
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)
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module Container
8
- VERSION = "0.28.0"
8
+ VERSION = "0.29.0"
9
9
  end
10
10
  end
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
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.29.0
4
+
5
+ - Introduce `Client#healthy!` for sending health check messages.
6
+
3
7
  ## v0.28.0
4
8
 
5
9
  - Add `startup_timeout` parameter to `spawn` and `run` methods for detecting processes that hang during startup and never become ready.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file