google-cloud-pubsub 0.39.2 → 0.39.3

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: 4f34b6b5827c709ce82dec3ae2c24557ec83f77bd8e381d32d82f100532894e3
4
- data.tar.gz: 4a07069df138d0bf056421edcf1f0f611ad5911e7317f16e2561dcc0421daba1
3
+ metadata.gz: 73f7842ab38615304cdae95c371eb8afea6bc4299208ba3ae4c61e4db85356ba
4
+ data.tar.gz: 6b0e30cf14ee025dc2abdb7bcbfb7424fe93952c9dfc24a9cd01837a7a813621
5
5
  SHA512:
6
- metadata.gz: a52c5e7fd8d4425f1beab86ac4235b817148f4e89992a7cdcfee7e3c87a4706334f12489aa7d7b305575d42cd446a4b714cd97f7132e3b61ac782f41bfcc6f87
7
- data.tar.gz: ff2bfa65c4f97d6ec09602d4fdf889f279531b45ec55bc4e4d70481530e978a85f22832fc42d08bf14b11caf9ad3970411570da97b970c0ceda4a30d44153b7a
6
+ metadata.gz: 7e343262355396ae126ac9945df4a89f7af156f9f6a4ea7f31581eceee691f875595235fed0e3d2800b5b49aea46e61fe528db32f35c10c42f3b3c738e5608c1
7
+ data.tar.gz: edcdc80a74455127b8817a5aa2cf9b95c5a057a37fe5e9e6f15fa2f5da90ad4fa16290548a07311ed15df719c88cfa4e87b350047e769137f4d8215bcc6015be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release History
2
2
 
3
+ ### 0.39.3 / 2019-09-27
4
+
5
+ #### Bug Fixes
6
+
7
+ * Fix Subscriber#wait! behavior
8
+ * Fix an issue where the Subscriber#wait! would block
9
+ for only 60 seconds, and not indefinitely.
10
+ * This was introduced in the previous release, 0.39.2.
11
+
12
+ #### Configuration Changes
13
+
14
+ * Update Subscriber acknowledge and modify_ack_deadline configuration
15
+ * The acknowledge and modify_ack_deadline RPCs have a lower size
16
+ limit than the other RPCs. Requests larger than 524288 bytes will
17
+ raise invalid argument errors.
18
+ * Update low-level client network configuration
19
+
3
20
  ### 0.39.2 / 2019-09-17
4
21
 
5
22
  #### Bug Fixes
@@ -109,7 +109,7 @@ module Google
109
109
 
110
110
  def wait!
111
111
  # Wait for all queued callbacks to be processed.
112
- @callback_thread_pool.wait_for_termination 60
112
+ @callback_thread_pool.wait_for_termination
113
113
 
114
114
  self
115
115
  end
@@ -27,7 +27,7 @@ module Google
27
27
 
28
28
  attr_reader :max_bytes, :interval
29
29
 
30
- def initialize subscriber, max_bytes: 10000000, interval: 1.0
30
+ def initialize subscriber, max_bytes: 500000, interval: 1.0
31
31
  super() # to init MonitorMixin
32
32
 
33
33
  @subscriber = subscriber
@@ -135,7 +135,7 @@ module Google
135
135
  synchronize do
136
136
  return {} if @register.empty?
137
137
  reg = @register
138
- @register = Concurrent::Map.new
138
+ @register = {}
139
139
  reg
140
140
  end
141
141
 
@@ -35,9 +35,9 @@
35
35
  "initial_retry_delay_millis": 100,
36
36
  "retry_delay_multiplier": 1.3,
37
37
  "max_retry_delay_millis": 60000,
38
- "initial_rpc_timeout_millis": 25000,
39
- "rpc_timeout_multiplier": 1.0,
40
- "max_rpc_timeout_millis": 30000,
38
+ "initial_rpc_timeout_millis": 5000,
39
+ "rpc_timeout_multiplier": 1.3,
40
+ "max_rpc_timeout_millis": 600000,
41
41
  "total_timeout_millis": 600000
42
42
  }
43
43
  },
@@ -26,9 +26,9 @@
26
26
  "initial_retry_delay_millis": 100,
27
27
  "retry_delay_multiplier": 1.3,
28
28
  "max_retry_delay_millis": 60000,
29
- "initial_rpc_timeout_millis": 25000,
30
- "rpc_timeout_multiplier": 1.0,
31
- "max_rpc_timeout_millis": 25000,
29
+ "initial_rpc_timeout_millis": 5000,
30
+ "rpc_timeout_multiplier": 1.3,
31
+ "max_rpc_timeout_millis": 600000,
32
32
  "total_timeout_millis": 600000
33
33
  },
34
34
  "streaming_messaging": {
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "0.39.2".freeze
19
+ VERSION = "0.39.3".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.2
4
+ version: 0.39.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-17 00:00:00.000000000 Z
12
+ date: 2019-09-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core