async-container-supervisor 0.9.3 → 0.10.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/supervisor/memory_monitor.rb +2 -2
- data/lib/async/container/supervisor/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: a87a996e93046c794d475b25431d6903f6e47959e68f3b2474c0f6cf0121e166
|
|
4
|
+
data.tar.gz: 431e6f20a8945047cf240c8a1aef5f825cac8d6f2a75d1023825364ad27d7cbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b78a271e703940ef965db230e8d5535e2d06fda09310e4234a8248bfbaa6c2102d95e2f342d459a5c79adf793ec269d645cb9a6acc426d2a11516426e34cd9cd
|
|
7
|
+
data.tar.gz: 867632686896a3438f6c0153bd1fa1a7c96e6c470e07a06655e0562b8cae9cbb53264e1852c8cee420c59793f83cce1ecc438aa3d16a1a49d71a65a0b8329b3c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -20,9 +20,9 @@ module Async
|
|
|
20
20
|
# @parameter interval [Integer] The interval at which to check for memory leaks.
|
|
21
21
|
# @parameter total_size_limit [Integer] The total size limit of all processes, or nil for no limit.
|
|
22
22
|
# @parameter options [Hash] Options to pass to the cluster when adding processes.
|
|
23
|
-
def initialize(interval: 10, total_size_limit: nil, memory_sample: false, **options)
|
|
23
|
+
def initialize(interval: 10, total_size_limit: nil, free_size_minimum: nil, memory_sample: false, **options)
|
|
24
24
|
@interval = interval
|
|
25
|
-
@cluster = Memory::Leak::Cluster.new(total_size_limit: total_size_limit)
|
|
25
|
+
@cluster = Memory::Leak::Cluster.new(total_size_limit: total_size_limit, free_size_minimum: free_size_minimum)
|
|
26
26
|
|
|
27
27
|
@memory_sample = memory_sample
|
|
28
28
|
|
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-supervisor/releases/index) for all releases.
|
|
28
28
|
|
|
29
|
+
### v0.10.0
|
|
30
|
+
|
|
31
|
+
- Add support for `Memory::Leak::Cluster` `free_size_minimum:`.
|
|
32
|
+
|
|
29
33
|
### v0.9.3
|
|
30
34
|
|
|
31
35
|
- Serialize `register`/`remove` and `check!` operations in `MemoryMonitor`.
|
|
@@ -66,10 +70,6 @@ Please see the [project releases](https://socketry.github.io/async-container-sup
|
|
|
66
70
|
|
|
67
71
|
- Add `async:container:supervisor:reload` command to restart the container (blue/green deployment).
|
|
68
72
|
|
|
69
|
-
### v0.1.0
|
|
70
|
-
|
|
71
|
-
- Initial implementation.
|
|
72
|
-
|
|
73
73
|
## Contributing
|
|
74
74
|
|
|
75
75
|
We welcome contributions to this project.
|
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.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -86,14 +86,14 @@ dependencies:
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0.
|
|
89
|
+
version: '0.10'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0.
|
|
96
|
+
version: '0.10'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: process-metrics
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|