barbeque 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/barbeque/runner.rb +1 -1
- data/lib/barbeque/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d60b8430e415373bfed2cc0863621d82417996114abacde3ff0574c9480cd895
|
4
|
+
data.tar.gz: d074c73ed7aa5970bb36412c6240a593dae056b08744a22498186312f99a0f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a26e7eed029255d7ca049bf981b5c34bd1fca38279b0201ad6c58329a4512626258c7c510cf0f4aa103a70496c1d06e700a960eede1c5daf6514bb634a79db0
|
7
|
+
data.tar.gz: 1fa3d72da18e34591feec9051f0c30006b1a09fff12395d9986b182aff3a7d30ace369005e8e17638eb3fbeb457ff6ca64bb002dde02568dd95ff91c5eff34d5
|
data/lib/barbeque/runner.rb
CHANGED
@@ -43,7 +43,7 @@ module Barbeque
|
|
43
43
|
end
|
44
44
|
|
45
45
|
loop do
|
46
|
-
current_num = @job_queue.job_executions.where(status:
|
46
|
+
current_num = @job_queue.job_executions.where(status: :running).count + Barbeque::JobRetry.where(status: :running).joins(job_execution: :job_queue).merge(Barbeque::JobQueue.where(id: @job_queue.id)).count
|
47
47
|
if current_num < max_num
|
48
48
|
return
|
49
49
|
end
|
data/lib/barbeque/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barbeque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adminlte2-rails
|