bitfab 0.33.0 → 0.33.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
- data/lib/bitfab/http_client.rb +8 -4
- data/lib/bitfab/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: 42832c5915e35905df60dae19b3a619fbaa221940e540618897b569be3db9b05
|
|
4
|
+
data.tar.gz: 833c23b94c2a6fa1194056775798d0a8e26ec52436489193f96884a993805f65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e42d4c2c6392450ba1fd8f7cc3dd7ce5c3f8362859474dac1ed8bb4289db9db1ed968f05d524a3aa4110809510334e88df62cc161eff66e7965147b5098695a
|
|
7
|
+
data.tar.gz: b432abe485b5a331e750ef2203f2f9d6d8c16b5ff0d0804268218e0a82a3fcc2ea09104381aff75cc1bdb8d4fcb7a5e99708839b61cce8d449371331fa58f325
|
data/lib/bitfab/http_client.rb
CHANGED
|
@@ -136,10 +136,14 @@ module Bitfab
|
|
|
136
136
|
payload["dbBranchSettings"] = db_branch_settings unless db_branch_settings.nil?
|
|
137
137
|
|
|
138
138
|
# When DB branching is on, the server resolves a Neon preview branch per
|
|
139
|
-
# item (snapshot + restore + poll), which can run several seconds each
|
|
140
|
-
#
|
|
141
|
-
# server
|
|
142
|
-
|
|
139
|
+
# item (snapshot + restore + poll), which can run several seconds each,
|
|
140
|
+
# and runs any warm-up SQL against each branch on a 240s budget of its
|
|
141
|
+
# own. The server gives up at 280s and answers, so this is a backstop for
|
|
142
|
+
# a reply that never comes rather than the thing that normally fires; it
|
|
143
|
+
# sits above the server's own ceiling so the server's error is the one
|
|
144
|
+
# callers see. Net::HTTP would otherwise default to 60s here, which the
|
|
145
|
+
# branch creation alone can outlast.
|
|
146
|
+
timeout = include_db_branch_lease ? 300 : 30
|
|
143
147
|
request("/api/sdk/replay/start", payload, timeout:)
|
|
144
148
|
end
|
|
145
149
|
|
data/lib/bitfab/version.rb
CHANGED