projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for _size_shutdowns and node prices in node manager refs #5353
[arvados.git]
/
services
/
api
/
script
/
crunch-dispatch.rb
diff --git
a/services/api/script/crunch-dispatch.rb
b/services/api/script/crunch-dispatch.rb
index 4a1fdbce758d7b552f529419f7c37f970299d298..9fb25664a41eb5befe7067aef83686fb5fcdc1f6 100755
(executable)
--- a/
services/api/script/crunch-dispatch.rb
+++ b/
services/api/script/crunch-dispatch.rb
@@
-194,7
+194,7
@@
class Dispatcher
# Otherwise, return nil.
need_procs = NODE_CONSTRAINT_MAP.each_pair.map do |job_key, node_key|
Proc.new do |node|
# Otherwise, return nil.
need_procs = NODE_CONSTRAINT_MAP.each_pair.map do |job_key, node_key|
Proc.new do |node|
- positive_int(node.
info
[node_key], 0) >=
+ positive_int(node.
properties
[node_key], 0) >=
positive_int(job.runtime_constraints[job_key], 0)
end
end
positive_int(job.runtime_constraints[job_key], 0)
end
end