lib/barnes.rb in barnes-0.0.5 vs lib/barnes.rb in barnes-0.0.6
- old
+ new
@@ -52,10 +52,15 @@
unless panels.length > 0
panels << Barnes::ResourceUsage.new(sample_rate)
end
- Periodic.new reporter: reporter, sample_rate: sample_rate, panels: panels
+ Periodic.new(
+ reporter: reporter,
+ sample_rate: sample_rate,
+ panels: panels,
+ debug: ENV['BARNES_DEBUG']
+ )
end
end
end
require 'barnes/reporter'