lib/filum/logger.rb in filum-2.2.0 vs lib/filum/logger.rb in filum-2.2.1
- old
+ new
@@ -27,9 +27,10 @@
def end_timing(label)
finish = Time.now
if @timings[label]
info("Stopped timing for #{label} at #{@timings[label]}, #{(finish.to_f - @timings[label].to_f).round(3)}")
+ @timings.delete(label)
else
info("Stopped timing for #{label} at #{@timings[label]}, no start time found")
end
end