Verified Commit db1db4cb authored by shelikhoo's avatar shelikhoo
Browse files

Fixed desynchronized comment and behavior for log interval

In 64ce7dff, the log interval is modified while the comment is left unchanged.
parent ec067346
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ func NewMetrics(metricsLogger *log.Logger) (*Metrics, error) {
	m.logger = metricsLogger
	m.promMetrics = initPrometheus()

	// Write to log file every hour with updated metrics
	// Write to log file every day with updated metrics
	go m.logMetrics()

	return m, nil