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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e53a58574f18152b0d6a59ef2c20957cd09fe15e8dd3ab593f3692c9ecab092
4
- data.tar.gz: 96abcd1f8fc3afd6d3f6065e25ecc0f201e28809651f4e16d456c3f0584e9e57
3
+ metadata.gz: 6b5612e05c65dc847f524f1e20345fcffb037c459c493e2cb5d73a1b4964e8b0
4
+ data.tar.gz: cbc83ab219046f20cd04f6b99bc438554b76d5b25fe0f2a462cbc3bc0859659d
5
5
  SHA512:
6
- metadata.gz: 1002a1e4214a8d0bfda3bb03a5eb6cf29bbbde2559e600b0f40d0ae5e531ada93588138abc90e56b839a8b11e20591b4b9741b948bac0998d4baafe7158cd48f
7
- data.tar.gz: 52c0ed26d2e5691c81490adeaf12d7eb078a88b0ce0a6dcbbea3f624be724cc619141e259c6da15c7114103b107e567900b6d26086f71c91c7c74cd041ec5cf4
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
- {restart: true, count: self.count, health_check_timeout: 30}.compact
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
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.49.0"
7
+ VERSION = "0.50.0"
8
8
  end
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.49.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-08 00:00:00.000000000 Z
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