falcon 0.54.0 → 0.54.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/falcon/service/server.rb +1 -1
- data/lib/falcon/version.rb +1 -1
- data/readme.md +4 -8
- 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: 2c3f4297ca318c67cd039cce9c7db0c6714751b0e476abdbc28b49882fbfe1a1
|
|
4
|
+
data.tar.gz: '02898c19485399ae53e9e85f741af7026ea70c3a28b9942fe6ab4f793cf780ca'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39d37d7b59904727e9f33e8d18a8dd76bd971689cc67803ab601c06d56b62c34d2598f94902feee787066b48d99da914f8d5e7d61864cf1e27cfd96e4ed1d72a
|
|
7
|
+
data.tar.gz: e83c1d9d0431df6a71820662605f75fbc5143397f7deee487096646925a210c183a980e4f6a88194abf2d819d51e8572a03ee3fe1bbc69b422eb459771170ef5
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -38,7 +38,7 @@ module Falcon
|
|
|
38
38
|
# @parameter evaluator [Environment::Evaluator] The environment evaluator.
|
|
39
39
|
# @returns [Falcon::Server] The server instance.
|
|
40
40
|
def run(instance, evaluator)
|
|
41
|
-
if evaluator.
|
|
41
|
+
if evaluator.respond_to?(:make_supervised_worker)
|
|
42
42
|
Console.warn(self, "Async::Container::Supervisor is replaced by Async::Services::Supervisor, please update your service definition.")
|
|
43
43
|
|
|
44
44
|
evaluator.make_supervised_worker(instance).run
|
data/lib/falcon/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -47,6 +47,10 @@ Please see the [project documentation](https://socketry.github.io/falcon/) for m
|
|
|
47
47
|
|
|
48
48
|
Please see the [project releases](https://socketry.github.io/falcon/releases/index) for all releases.
|
|
49
49
|
|
|
50
|
+
### v0.54.1
|
|
51
|
+
|
|
52
|
+
- Fix handling of old style supervisors from `Async::Container::Supervisor`.
|
|
53
|
+
|
|
50
54
|
### v0.54.0
|
|
51
55
|
|
|
52
56
|
- Introduce `Falcon::CompositeServer` for hosting multiple server instances in a single worker.
|
|
@@ -91,14 +95,6 @@ During the `v0.44.0` release cycle, the workflows for testing older rack release
|
|
|
91
95
|
|
|
92
96
|
Specifically, `protocol-rack` now provides `Protocol::Rack::Adapter.parse_file` to load Rack applications. Rack 2's `Rack::Builder.parse_file` returns both the application and a set of options (multi-value return). Rack 3 changed this to only return the application, as the prior multi-value return was confusing at best. This change allows `protocol-rack` to work with both versions of rack, and `falcon` adopts that interface.
|
|
93
97
|
|
|
94
|
-
### Falcon Serve Options
|
|
95
|
-
|
|
96
|
-
In addition, `falcon serve` provides two new options:
|
|
97
|
-
|
|
98
|
-
1. `--[no]-restart` which controls what happens when `async-container` instances crash. By default, `falcon serve` will restart the container when it crashes. This can be disabled with `--no-restart`.
|
|
99
|
-
|
|
100
|
-
2. `--graceful-stop [timeout]` which allows you to specify a timeout for graceful shutdown. This is useful when you want to stop the server, but allow existing connections to finish processing before the server stops. This feature is highly experimental and doesn't work correctly in all cases yet, but we are aiming to improve it.
|
|
101
|
-
|
|
102
98
|
## Contributing
|
|
103
99
|
|
|
104
100
|
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
|