freight_kit 0.1.26 → 0.1.27

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: 5e5aa8fde24e214ab02b8ae57a88edee7db8cb0525d2cabdea293d222c4fca8e
4
- data.tar.gz: 1adf8e899362c771fe118cf7410065872f5d3769befce9bec76a3a7dd619d7fd
3
+ metadata.gz: 654499f996bc56f1f5de3bb76a35fa741620a112b07ae14f5bf9955cbb13905e
4
+ data.tar.gz: 6e7362fcc10f25baec9aed2fddd314f2f4a96e6f315524fd49b9377c68894e5d
5
5
  SHA512:
6
- metadata.gz: 64f97af95e8acd7cf94f81a6c1c0ee6014bad35b18281e1a7bd7fc6845dacfee3bb5ae04beef86285ca7bc1fe5567347ed8233b5caf37461d814376c57ab9bd2
7
- data.tar.gz: 5b434e6dd2b7946bbb54f258022d1c346d50f63c68b371e8350f375b31675317428d09d7fe421c910a6e9475e18eb01841f13b30476f124d0b0adf8dcf6c80ae
6
+ metadata.gz: 26450318b8a6d9a3b107b781efe0d85ee5e18aed8ebde54161be1c9b5266a19902c886113f8a776b0f2d708a6bb6006ec2c6c39b35ab2df6ecb2019b175e5153
7
+ data.tar.gz: e422938482548ea69ce4e8cb70428a981c7031497b3956f841507c3ec3f0150fa98499196da2d1618631afaa46e47a78afdfd1e5db3382ceb41b23b175b72a2d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.26
1
+ 0.1.27
@@ -9,7 +9,7 @@ module FreightKit
9
9
  class HTTPClient
10
10
  # Seconds. A slow carrier must not hold the caller's threads, so the total covers every retry: one connect plus one
11
11
  # read. Callers waiting on slow APIs pass a longer `read_timeout:`, which raises the total to match.
12
- TIMEOUTS = { connect_timeout: 5, read_timeout: 15, total_request_timeout: 20, write_timeout: 15 }.freeze
12
+ TIMEOUTS = { connect_timeout: 5.seconds, read_timeout: 1.minute, total_request_timeout: 65.seconds, write_timeout: 1.minute }.freeze
13
13
  USER_AGENT = "freight_kit/#{VERSION} #{HTTPX::Options::USER_AGENT}".freeze
14
14
 
15
15
  @sessions = Concurrent::Map.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freight_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Third Party Transportation Systems LLC