async-container-supervisor 0.5.2 → 0.6.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/bake/async/container/supervisor.rb +8 -0
- data/lib/async/container/supervisor/version.rb +1 -1
- data/readme.md +4 -0
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 6fee2b80a7228f9c35664c63e1c33093cb768e5c964e52f595465585bea84831
|
4
|
+
data.tar.gz: 384a75fb6affd59de5d91a169fe1094515079a938e44304375d786e07cff930b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f2dfad26d080569c54a432a6f83461525dde4f4ce0610e90a2b9563e2ebcfb1cf2ee253ab38a669d5a8c2e155b84cb3bb002f385980f5bbddad90664ca1077
|
7
|
+
data.tar.gz: 7695b0a3b6b4cecdb25fdcac2ebc55e5f401de4838af0280b9a6819a93e773d2436dc7dbea662b8a767950e8f9b3a3e9589853e99d778b085c5149240757379d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -9,12 +9,20 @@ def initialize(...)
|
|
9
9
|
require "async/container/supervisor"
|
10
10
|
end
|
11
11
|
|
12
|
+
# Restart the container, typically causing it to exit (the parent process should then restart it).
|
12
13
|
def restart
|
13
14
|
client do |connection|
|
14
15
|
connection.call(do: :restart)
|
15
16
|
end
|
16
17
|
end
|
17
18
|
|
19
|
+
# Reload the services gracefully, allowing them to reconfigure without dropping connections.
|
20
|
+
def reload
|
21
|
+
client do |connection|
|
22
|
+
connection.call(do: :restart, signal: :HUP)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
18
26
|
def status
|
19
27
|
client do |connection|
|
20
28
|
connection.call(do: :status)
|
data/readme.md
CHANGED
@@ -20,6 +20,10 @@ Please see the [project documentation](https://socketry.github.io/async-containe
|
|
20
20
|
|
21
21
|
Please see the [project releases](https://socketry.github.io/async-container-supervisor/releases/index) for all releases.
|
22
22
|
|
23
|
+
### v0.6.0
|
24
|
+
|
25
|
+
- Add `async:container:supervisor:reload` command to restart the container (blue/green deployment).
|
26
|
+
|
23
27
|
### v0.1.0
|
24
28
|
|
25
29
|
- Initial implementation.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-container-supervisor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
rubygems_version: 3.7
|
151
|
+
rubygems_version: 3.6.7
|
152
152
|
specification_version: 4
|
153
153
|
summary: A supervisor for managing multiple container processes.
|
154
154
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|