Skip to content
Browse files

Make worker quiet by default

  • Loading branch information...
1 parent 7a4ed0d commit f91dda3f1cbda1f2fbc916b4a4824ac5ee4aa915 @bkeepers bkeepers committed Sep 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/delayed/worker.rb
View
2 lib/delayed/worker.rb
@@ -42,7 +42,7 @@ def self.guess_backend
end
def initialize(options={})
- @quiet = options[:quiet]
+ @quiet = options.has_key?(:quiet) ? options[:quiet] : true
self.class.min_priority = options[:min_priority] if options.has_key?(:min_priority)
self.class.max_priority = options[:max_priority] if options.has_key?(:max_priority)
end

0 comments on commit f91dda3

Please sign in to comment.
Something went wrong with that request. Please try again.