Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 4d46b5fbd7b25104563b97a2e436e52ee79865b9 1 parent 38ca8ff
Brandon Keepers bkeepers authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/delayed/command.rb
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.