resque-kubernetes 0.7.0 → 0.8.0

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
  SHA1:
3
- metadata.gz: c01e78712eaf835c708ee4a7a6d1015cc5642e1a
4
- data.tar.gz: 888645885f867ccb57a35c913df6b01ea3ffcdd0
3
+ metadata.gz: 7f5cf6f4a4069b9440bbd5a136a24080214670c2
4
+ data.tar.gz: fac4fd9e289b57cce831e006459828481128c542
5
5
  SHA512:
6
- metadata.gz: 8d0fbd80dc1d9861625c906f812d12c42a0fa7e1de3550f7e40b586266553eb15052d966adb3b4503f8e7ef65de0caef41709fb1d6df2341e90a94701fd70109
7
- data.tar.gz: 8e46a1d82c5315bd65a851ba62b942f3050089a5ee4683b9739da66934fc21c7d09e8668812ee994bfb7cf27993780f03c432bf1e6cfec155a89000554bb95de
6
+ metadata.gz: c36a6aafdb792d2b1cc1e3e137d6cc18a2f9cb0f3f0e8f1fc2ae9ee56489ea5688b1a9c4148fb92ea9d6accf0ccc9fd24ede2fd3ae132220a5ecbb7580ebdeb2
7
+ data.tar.gz: 365a4a5f2abeab6b8ad6ff2a4c032586fc19ce188f1ce04b2540df678d9a9d216e0909abe5e08c234cf6001ebc550599fe3386fa55f57269a83a130d32197cf5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.8.0
2
+ - Fix bug where enqueueing jobs would keep adding workers if worker count
3
+ was _greater_ than `max_workers`
1
4
  # 0.7.0
2
5
  - Update to support kubeclient 2.2 or 3.x
3
6
  # 0.6.0
@@ -172,7 +172,7 @@ module Resque
172
172
  namespace: namespace
173
173
  )
174
174
  running = resque_jobs.reject { |job| job.spec.completions == job.status.succeeded }
175
- running.size == max_workers
175
+ running.size >= max_workers
176
176
  end
177
177
 
178
178
  def adjust_manifest(manifest)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Resque
4
4
  module Kubernetes
5
- VERSION = "0.7.0"
5
+ VERSION = "0.8.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-kubernetes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Wadsack
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler