Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

checking @busy_workers.size is sufficient, and the other check was no…

…t correct
  • Loading branch information...
commit 4a468dc29dbf327a3c46039f1581b768a5c70d14 1 parent 792c93c
@joenoon joenoon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/girl_friday/work_queue.rb
View
2  lib/girl_friday/work_queue.rb
@@ -78,7 +78,7 @@ def shutdown(&block)
end
def working?
- @busy_workers.size > 0 || @total_queued != @total_processed + @total_errors + @persister.size
+ @busy_workers.size > 0
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.