lib/backburner/workers/threads_on_fork.rb in backburner-allq-1.0.31 vs lib/backburner/workers/threads_on_fork.rb in backburner-allq-1.0.32
- old
+ new
@@ -205,10 +205,10 @@
coolest_exit
end
# Run work_one_job while we can
def run_while_can(conn = connection)
- puts "Run while can"
+ log_info "Run while can"
while @garbage_after.nil? or @garbage_after > @runs
@runs += 1 # FIXME: Likely race condition
work_one_job(conn, @watched_tube_name)
end
end