work_shaper 0.1.3.1rc6 → 0.1.3.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: b86b6e151780b23abcdeb4c148775a3344f2b41a0da426f9ff0da148eca1ea5a
4
- data.tar.gz: 4af867aee488107d5e934fe02c844a4c2f0b6548305bea935bc8b32b143c2808
3
+ metadata.gz: d3ea26c32471d401d3544efae02d400d5317b83373487e9e7c11ea9259f678ec
4
+ data.tar.gz: c28379ed6fbe660f76f97950e81563524aca4e6808ef1b91c2b66920a31b775a
5
5
  SHA512:
6
- metadata.gz: 8cb3139f6e36a665bbcfad2291c11d6e785c4c41df11ab8cc69b35111a5b897da12fe13ac6fc2f5cfac55a6673314256b4bd2215171c722ba6b7c3299ab77c2a
7
- data.tar.gz: 8342797e7b562d0fd8be90c802a8d83c4e480c81311e4474a9e78ce911d7f83bb15dbbb01c63d4a1394b5b40dc6e7a5223d499eb0a505ba2538a9e4836eacce9
6
+ metadata.gz: 913324499dcd1a241e116bc9f397199237ae32b9c2b5f6992b50e71790031649c73d3bb09862f427d3d210b97d0dff3dd9a382ad9ca87d92a8fe7e2b2ab8291d
7
+ data.tar.gz: fae26f3d854e512328334291f93a928a561ae363ccf2ba11b28f1f3a886385861aa4512c0a754d547ff6f4175481c0d4a1cef72aacbf6e1c6e80dac33300ecc3
@@ -190,6 +190,8 @@ module WorkShaper
190
190
 
191
191
  def pause_on_overrun
192
192
  overrun = lambda do
193
+ # I think we can do this now with the refactor
194
+ # @received_offsets.values.count > @max_in_queue
193
195
  @total_enqueued.to_i - @total_acked.to_i > @max_in_queue
194
196
  end
195
197
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkShaper
4
- VERSION = "0.1.3.1rc6"
4
+ VERSION = "0.1.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: work_shaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.1rc6
4
+ version: 0.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerry Fernholz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-25 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -63,9 +63,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  version: 2.6.0
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.3.1
68
+ version: '0'
69
69
  requirements: []
70
70
  rubygems_version: 3.4.10
71
71
  signing_key: