Skip to content

Commit

Permalink
fix hound warning
Browse files Browse the repository at this point in the history
  • Loading branch information
meltheadorable committed Mar 20, 2024
1 parent 4a206d5 commit 68aa982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/delayed_job.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

Delayed::Worker.logger = Logger.new(Rails.root.join("log/dj.log"))
Delayed::Worker.logger = ActiveSupport::BroadcastLogger.new(Logger.new(STDOUT)) if Rails.env.development?
Delayed::Worker.logger = ActiveSupport::BroadcastLogger.new(Logger.new($stdout)) if Rails.env.development?

Delayed::Worker.queue_attributes = {
default: {priority: 0},
Expand Down

0 comments on commit 68aa982

Please sign in to comment.