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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa66ab7393ccfdd162cdeaecee49c7b18efa601244afc8d7830568602968efd2
4
- data.tar.gz: 29312e2278ad9a39033f82f01a45c20ef12bee1f3ac4b6140c94b22f0ae9dc48
3
+ metadata.gz: 42832c5915e35905df60dae19b3a619fbaa221940e540618897b569be3db9b05
4
+ data.tar.gz: 833c23b94c2a6fa1194056775798d0a8e26ec52436489193f96884a993805f65
5
5
  SHA512:
6
- metadata.gz: dda0002685836ac6e381ecbf37430950df3fa7df9bad695e80803bb1c0da432885027be571feb02ba571adbc4c98a927e1a67eb910f3c8784c0bfde18e4b4f75
7
- data.tar.gz: 183c49cc2d9ed286d3ea94e5505e09d6efdfe1cd2e5d73c31e1d504029643745bb796029395c70dc8afc1b2f165b3ecb84d2798933b806d0c00bd8b483d7a94e
6
+ metadata.gz: 8e42d4c2c6392450ba1fd8f7cc3dd7ce5c3f8362859474dac1ed8bb4289db9db1ed968f05d524a3aa4110809510334e88df62cc161eff66e7965147b5098695a
7
+ data.tar.gz: b432abe485b5a331e750ef2203f2f9d6d8c16b5ff0d0804268218e0a82a3fcc2ea09104381aff75cc1bdb8d4fcb7a5e99708839b61cce8d449371331fa58f325
@@ -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
- # Use a generous timeout so the SDK doesn't give up before a healthy
141
- # server finishes.
142
- timeout = include_db_branch_lease ? 180 : 30
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.33.0"
4
+ VERSION = "0.33.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.33.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team