falcon 0.45.0 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -1
- data/changes.md +2 -0
- data/lib/falcon/environment/application.rb +0 -6
- data/lib/falcon/environment/rackup.rb +1 -1
- data/lib/falcon/environment/server.rb +7 -1
- data/lib/falcon/version.rb +1 -1
- 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: 3efd7928dffa871fcd8d93cea1d6204cfb7c4257c80a13710fa512e0f323fa09
|
4
|
+
data.tar.gz: 2d8b8ef2ea60c23c07063c23eda943a1824ed6364a41281db4aa4d2e0618e870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 591a661365d8a3bde35a9d7639bbd224a355e73fc6ec1731f7a3a70ec9bf2fa016a1e675d1a6690a28c3f157a08a924c19b2b23e00edf8a03ada546eb40643cb
|
7
|
+
data.tar.gz: 979aeccb4afda11563b1aa2932d5d7683a487971a319dc537b7c1b7f521de3d6b2a87395ff39c0dd627bfbbabf973e795394551e259dc935ae1d4bba12d61ddd
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
a�t1�K;ڪ�1�*�)9A���HA��~���������+RM�S�.�_/S}�*�L��Q:����>�q����\
|
2
|
+
l����Y���T5���ß�a9z�=짝y\E��ܑ��hq���=1�;�17:��8f�ך�f�O��Ǟ1���v(�z��_{� ������JÁ�%kIԶ3Ԥ_@v(A1<#wCt�*�Xj3U2���oq*>�������ᑄ�Nr\���8n���A�e�bM�U���o|�1���Wx�8O#b+
|
data/changes.md
CHANGED
@@ -8,6 +8,8 @@ During the `v0.44.0` release cycle, the workflows for testing older rack release
|
|
8
8
|
|
9
9
|
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.
|
10
10
|
|
11
|
+
## Falcon Serve Options
|
12
|
+
|
11
13
|
In addition, `falcon serve` provides two new options:
|
12
14
|
|
13
15
|
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`.
|
@@ -25,9 +25,15 @@ module Falcon
|
|
25
25
|
self.name
|
26
26
|
end
|
27
27
|
|
28
|
+
# Number of instances to start. By default (when nil), uses `Etc.nprocessors`.
|
29
|
+
# @returns [Integer | nil]
|
30
|
+
def count
|
31
|
+
nil
|
32
|
+
end
|
33
|
+
|
28
34
|
# Options to use when creating the container.
|
29
35
|
def container_options
|
30
|
-
{restart: true}
|
36
|
+
{restart: true, count: self.count}.compact
|
31
37
|
end
|
32
38
|
|
33
39
|
# The host that this server will receive connections for.
|
data/lib/falcon/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|