fix(internal metrics): removed local dev code

This commit is contained in:
Torkel Ödegaard 2016-09-22 11:54:47 +02:00
parent e336fb3d60
commit f79600b352

View File

@ -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 {