projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '3720-big-manifest-performance-wip'
[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 33f53692bceee9505a5c303fd7c90bdff5f04f54..bb7ce7e12dee7efe70ceeff06d506c1c18b23392 100755
(executable)
--- a/
services/api/script/crunch-dispatch.rb
+++ b/
services/api/script/crunch-dispatch.rb
@@
-17,6
+17,8
@@
if not ($options[:jobs] or $options[:pipelines])
abort "Nothing to do. Please specify at least one of: --jobs, --pipelines."
end
abort "Nothing to do. Please specify at least one of: --jobs, --pipelines."
end
+ARGV.reject! { |a| a =~ /--jobs|--pipelines/ }
+
$warned = {}
$signal = {}
%w{TERM INT}.each do |sig|
$warned = {}
$signal = {}
%w{TERM INT}.each do |sig|