Skip to content

Commit

Permalink
Set quiet from the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Israël Hallé committed Feb 5, 2015
1 parent 6d0a6b2 commit e8afa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:min_priority => ENV['MIN_PRIORITY'],
:max_priority => ENV['MAX_PRIORITY'],
:queues => (ENV['QUEUES'] || ENV['QUEUE'] || '').split(','),
:quiet => false
:quiet => ENV['QUIET']
}

@worker_options[:sleep_delay] = ENV['SLEEP_DELAY'].to_i if ENV['SLEEP_DELAY']
Expand Down

0 comments on commit e8afa66

Please sign in to comment.