Commit f79600b3 by Torkel Ödegaard

fix(internal metrics): removed local dev code

parent e336fb3d
......@@ -58,9 +58,7 @@ func updateTotalStats() {
// every interval also publish totals
metricPublishCounter++
if metricPublishCounter%2 == 0 {
metricsLogger.Info("Stats!")
if metricPublishCounter%10 == 0 {
// get stats
statsQuery := m.GetSystemStatsQuery{}
if err := bus.Dispatch(&statsQuery); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment