google-cloud-pubsub 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e249c4539610e4b293e64f0e61319712f2d7cd68197aca32158387873962c6d
4
- data.tar.gz: 1abcfc9704a1d17035fcf1c79a65a41fb3a0406621bd80d60fb8bf40e402f2ab
3
+ metadata.gz: 0f7dff11d651ad06ca607807388398bbdd150faceaa33b55f12b558159bf3cdf
4
+ data.tar.gz: 915d9e6a4df2c3def14acc478d4348c5f1a6e7c1d96e5aea5b191f4ed83d2752
5
5
  SHA512:
6
- metadata.gz: dd0fd7eba6866ae2893d3d4efdd23d32f37793ed64b43f9ee27755e26ae13d79d95f1782fb246bea4ce9c5ed36747789d07c92d3bd578d8dd04471aa905b6953
7
- data.tar.gz: 0b0edaae2cf9304c0af750fd3e0e0d7989f846f284a3498eb9c476e9139fda649f24c55fc877286b0f614de949b877bd14062519470dbd91aeabb81425a44b0d
6
+ metadata.gz: 9dfe9bdd8e1fe239444c5f2a0d3710558cf1ac249e6445a6374896a23b12143ead53e4c437a2dc79750a7630f62a0f6f6541b24499a56070895000da1d3502ca
7
+ data.tar.gz: a71c2a9bc381c633ad976205423c28688afd0d914bef94814e49b7fa881861f186b9761bd6461c8e910e7d793dd264e2ed2f3a7d4294f214727c90c75ca8c125
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 1.0.1 / 2019-10-01
4
+
5
+ #### Bug Fixes
6
+
7
+ * Fix Subscriber lease issue
8
+ * Fix logic for renewing Subscriber lease for messages.
9
+ * Subscriptions with very low volume would only be renewed once.
10
+ * Now messages will be renewed as many times as it takes until
11
+ * Fix Subscriber lease timing
12
+ * Start the clock for the next lease renewal immediately.
13
+ * This help Subscriptions with a very short deadline not
14
+
3
15
  ### 1.0.0 / 2019-09-30
4
16
 
5
17
  #### Features
@@ -114,9 +114,9 @@ module Google
114
114
  delay_gap = delay_target - Time.now
115
115
 
116
116
  unless delay_gap.positive?
117
- delay_target = nil
118
- delay_gap = nil # wait until broadcast
117
+ delay_target = calc_target
119
118
  stream.renew_lease!
119
+ next
120
120
  end
121
121
 
122
122
  @wait_cond.wait delay_gap
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "1.0.0".freeze
19
+ VERSION = "1.0.1".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: 1.0.0
4
+ version: 1.0.1
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-30 00:00:00.000000000 Z
12
+ date: 2019-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core