redstream 0.6.0 → 0.6.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: 20db64a5cecd9accc59e117b19ecd608236d0dfae1c177c47aff0079335ead7d
4
- data.tar.gz: 34f383997e4e15a1ce03c83650445b20683b00a6adefcae01248525087fa90a9
3
+ metadata.gz: 07cbbe57932c4b23ec92cdc8021be5e3bcf186aa32c059c5bb6e0c36725d7bda
4
+ data.tar.gz: cb6e1eda0d45d34d1118b5f1996b41ce7d3c6979536c03e767dbce635e97a2ce
5
5
  SHA512:
6
- metadata.gz: 911800fad8f34ce373e3edd884ce45c1804bd82ea2c0d0ae14b69fbc2f8e998aa19210db6ddb65c14ffb1af9daf03164269f8da4a913364eaf8c3f471e88f013
7
- data.tar.gz: 3e3b9b0651c4a6d8d4f570df68d8e2ea982a3109450cf62b7f7fc02ebe7b05d3652a136016ea800e2a66ccb0059a59d2a6b703b6804803093c8030c1ac2cbc31
6
+ metadata.gz: 0cc047d34677e90ab0af89b1de9fb5ceb254de5a9eeb1d9d5702d584af1d268bad30047163f3edc1bd2c16308a2d96d45b78734d0a89a05443bcaa87cf91b8ef
7
+ data.tar.gz: 313b74d545e33e434b0412945ae8cdae6476ec10579920601ede555ddabea57b582679c25425b70a9bf1891116352c6ba513b4b46bbe5e3820498cc3e7c92e83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.6.1
4
+ * Use Redstream::Lock#wait in Redstream::Trimmer
5
+
3
6
  ## v0.6.0
4
7
  * Allow sharding records into multiple streams
5
8
 
@@ -77,7 +77,7 @@ module Redstream
77
77
  end
78
78
  end
79
79
 
80
- sleep(5) unless got_lock
80
+ @lock.wait(5) unless got_lock
81
81
  rescue StandardError => e
82
82
  @logger.error e
83
83
 
@@ -1,3 +1,3 @@
1
1
  module Redstream
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redstream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Vetter