rbbt-util 5.23.2 → 5.23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/util/config.rb +1 -1
- data/lib/rbbt/workflow/step/dependencies.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bfbb8363621dbc1c6e1fb31325daf855ab76776
|
4
|
+
data.tar.gz: 6b443437c8bccd371d7a62dd33e36c5050e6c62c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7977e2966f10b576a1b1228c2db642a61f32d3bb0236b6c79fecf6b545ae1ce4dfb672f786054d6cf3d73198357c5c2445ed3c7b2fe9a65ef4a65429a528582
|
7
|
+
data.tar.gz: ed3956298633545fb064228bcddeb7669557c6b7f216b91dceba241429c51045b651711a143c0c2bef15bc33d6925bce33d31d2ffde451dce7bd729f96f7241c
|
data/lib/rbbt/util/config.rb
CHANGED
@@ -227,15 +227,15 @@ class Step
|
|
227
227
|
nil
|
228
228
|
when :bootstrap
|
229
229
|
cpus = rest.nil? ? nil : rest.first
|
230
|
-
|
231
|
-
cpus = list.length / 2 if cpus
|
230
|
+
|
231
|
+
cpus = config('dep_cpus', 'bootstrap', :default => [5, list.length / 2].min) if cpus.nil?
|
232
232
|
|
233
233
|
respawn = rest && rest.include?(:respawn)
|
234
234
|
respawn = false if rest && rest.include?(:norespawn)
|
235
235
|
respawn = rest && rest.include?(:always_respawn)
|
236
236
|
respawn = :always if respawn.nil?
|
237
237
|
|
238
|
-
Misc.bootstrap(list, cpus, :bar => "Bootstrapping dependencies for #{path}", :respawn => respawn) do |dep|
|
238
|
+
Misc.bootstrap(list, cpus, :bar => "Bootstrapping dependencies for #{path} [#{cpus}]", :respawn => respawn) do |dep|
|
239
239
|
Misc.insist do
|
240
240
|
begin
|
241
241
|
dep.produce
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.23.
|
4
|
+
version: 5.23.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|