falcon 0.49.0 → 0.50.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/falcon/environment/server.rb +13 -5
- data/lib/falcon/version.rb +1 -1
- data/releases.md +2 -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: 6b5612e05c65dc847f524f1e20345fcffb037c459c493e2cb5d73a1b4964e8b0
|
4
|
+
data.tar.gz: cbc83ab219046f20cd04f6b99bc438554b76d5b25fe0f2a462cbc3bc0859659d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6357075c07a05e8a7cc85eeda99fb4b7cf276c1a2590d5c7ce3e4578bbc0e08fd47b4a713873a98ed9c033aac293f6d5239970a56de8db403b79afee78bdee2c
|
7
|
+
data.tar.gz: 8728f7d6aa88546d3cf9de9713400447f41510bc7d5005ed9e77b266d0d9b7c4a285f6056d41f88e1ddb17d82b8ae36d2f9e626893b99919be4d4f8e50836538
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -33,7 +33,11 @@ module Falcon
|
|
33
33
|
|
34
34
|
# Options to use when creating the container.
|
35
35
|
def container_options
|
36
|
-
{
|
36
|
+
{
|
37
|
+
restart: true,
|
38
|
+
count: self.count,
|
39
|
+
health_check_timeout: 30,
|
40
|
+
}.compact
|
37
41
|
end
|
38
42
|
|
39
43
|
# The host that this server will receive connections for.
|
@@ -45,13 +49,17 @@ module Falcon
|
|
45
49
|
nil
|
46
50
|
end
|
47
51
|
|
52
|
+
def endpoint_options
|
53
|
+
{
|
54
|
+
reuse_address: true,
|
55
|
+
timeout: timeout,
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
48
59
|
# The upstream endpoint that will handle incoming requests.
|
49
60
|
# @returns [Async::HTTP::Endpoint]
|
50
61
|
def endpoint
|
51
|
-
::Async::HTTP::Endpoint.parse(url).with(
|
52
|
-
reuse_address: true,
|
53
|
-
timeout: timeout,
|
54
|
-
)
|
62
|
+
::Async::HTTP::Endpoint.parse(url).with(**endpoint_options)
|
55
63
|
end
|
56
64
|
|
57
65
|
def verbose
|
data/lib/falcon/version.rb
CHANGED
data/releases.md
CHANGED
@@ -28,6 +28,8 @@ The Falcon server process title is now updated periodically (alongside the healt
|
|
28
28
|
- **R** – Requests: `(current/total)` requests processed by the server
|
29
29
|
- **L** – Scheduler Load: A floating-point value representing the event loop load
|
30
30
|
|
31
|
+
Note, if you are using `htop`, you should enable "Setup" → "Display Options" → "\[x\] Update process names on every refresh" otherwise the process title will not be updated.
|
32
|
+
|
31
33
|
## v0.48.4
|
32
34
|
|
33
35
|
- Improve compatibility of rackup handler w.r.t. sinatra.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -60,7 +60,7 @@ cert_chain:
|
|
60
60
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
61
61
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
62
62
|
-----END CERTIFICATE-----
|
63
|
-
date: 2025-02-
|
63
|
+
date: 2025-02-11 00:00:00.000000000 Z
|
64
64
|
dependencies:
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: async
|
metadata.gz.sig
CHANGED
Binary file
|