boltless 2.12.0 → 2.13.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
- data/lib/boltless/extensions/connection_pool.rb +2 -2
- data/lib/boltless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79b6a6ce28c9febeb15f28d8655a047e09df3e9c01f0d7436a35a8eef5f44827
|
|
4
|
+
data.tar.gz: 42a6ae85d9a859f45c743d931812b456a1430b7ef4280b475b5c14150ad99a3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9d08511d7c22d7bfa8059e891c625d8a5f65805d627dd01bdb2b860c83b69a0e44bb8f64dd038ce0674e582ffe7f03f421d3048935e5735beaf5e7fb356ead1
|
|
7
|
+
data.tar.gz: fad0c2e5bdce1ae51ab7c4e51c3370f4d7ae59946be8838fe8229f35632a7b9f331e490df08bbd5831ac4ed2e616cff3791c416da8d1f91bc4fd53acd5deb8ce
|
|
@@ -18,7 +18,8 @@ module Boltless
|
|
|
18
18
|
#
|
|
19
19
|
# @raise [HTTP::Error] in case the upstream server did not come up
|
|
20
20
|
#
|
|
21
|
-
# rubocop:disable Metrics/MethodLength -- because of the retry
|
|
21
|
+
# rubocop:disable-next Metrics/MethodLength -- because of the retry
|
|
22
|
+
# logic
|
|
22
23
|
def wait_for_server!(connection)
|
|
23
24
|
# Check if the server already accepted connections
|
|
24
25
|
return connection if @upstream_is_ready
|
|
@@ -62,7 +63,6 @@ module Boltless
|
|
|
62
63
|
sleep(retry_sleep)
|
|
63
64
|
retry
|
|
64
65
|
end
|
|
65
|
-
# rubocop:enable Metrics/MethodLength
|
|
66
66
|
|
|
67
67
|
# A memoized connection pool for our HTTP API clients.
|
|
68
68
|
#
|
data/lib/boltless/version.rb
CHANGED