lib/dispatch-rider/configuration.rb in dispatch-rider-1.0.3 vs lib/dispatch-rider/configuration.rb in dispatch-rider-1.1.4

- old
+ new

@@ -12,9 +12,13 @@ @subscriber = DispatchRider::Subscriber @logger = Logger.new(STDERR) end delegate :before, :after, :around, :to => :callbacks + + def default_retry_timeout=(val) + DispatchRider::Handlers::Base.set_default_retry(val) + end def handlers @handlers ||= begin load_handler_files DispatchRider::Handlers::Base.subclasses.map{ |klass| klass.name.underscore.to_sym }