Merge branch 'master' of git.clinicalfuture.com:arvados
[arvados.git] / services / api / script / crunch-dispatch.rb
index d9db69f6502a87ca22c5565c149806b6e5da6198..f15258d4202b298ab8d0d5e482c2bd1af670a638 100755 (executable)
@@ -37,7 +37,7 @@ class Dispatcher
   end
 
   def refresh_todo
-    @todo = Job.queue
+    @todo = Job.queue.select do |j| j.repository end
     @todo_pipelines = PipelineInstance.queue
   end