lib/scout/log/progress.rb in scout-gear-6.0.0 vs lib/scout/log/progress.rb in scout-gear-7.1.0

- old
+ new

@@ -22,9 +22,11 @@ def initialize(max = nil, options = {}) depth, desc, file, bytes, frequency, process, callback = IndiferentHash.process_options options, :depth, :desc, :file, :bytes, :frequency, :process, :callback, :depth => 0, :frequency => 2 + max = nil if TrueClass === max + @max = max @ticks = 0 @frequency = frequency @last_time = nil @last_count = nil