Permalink
Browse files

Set auto_flushing to true on logger to disable Rails' buffered logging

  • Loading branch information...
1 parent 38ca8ff commit 4d46b5fbd7b25104563b97a2e436e52ee79865b9 @bkeepers bkeepers committed Feb 5, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/delayed/command.rb
View
@@ -61,6 +61,7 @@ def run(worker_name = nil)
end
Delayed::Worker.logger = Rails.logger
+ Delayed::Worker.logger.auto_flushing = true
ActiveRecord::Base.connection.reconnect!
worker = Delayed::Worker.new(@options)

0 comments on commit 4d46b5f

Please sign in to comment.