lib/right_chimp/chimp.rb in right_chimp-2.2.1 vs lib/right_chimp/chimp.rb in right_chimp-2.2.2

- old
+ new

@@ -1057,11 +1057,11 @@ puts "Ignoring errors and continuing" exit 0 elsif command =~ /^r/i puts "Retrying..." ChimpQueue.instance.group[group].requeue_failed_jobs! - return "retry" + return 'retry' end end end # @@ -1110,20 +1110,22 @@ while not done queue_runner(@concurrency, @delay, @retry_count, @progress) if @interactive and @verify done = verify_results(@group) + # a retry means we are not done yet. + done = false if done == 'retry' else done = true end end if not @verify failed_workers, results_display = get_results(group) exit 1 if failed_workers.size > 0 end - puts "chimp run complete" + puts 'chimp run complete' end # # Completely process a non-interactive chimp object command # This is used by chimpd, when processing a task.