aboutsummaryrefslogtreecommitdiff
path: root/broker
diff options
context:
space:
mode:
authorShelikhoo <xiaokangwang@outlook.com>2022-05-02 14:15:41 +0100
committerShelikhoo <xiaokangwang@outlook.com>2022-06-16 14:06:57 +0100
commit7caab017850fdf7cb79e93b60ab9bd6baa28b027 (patch)
treebb7e283d90d076efb999d7bdf65a27004c730474 /broker
parentb391d986799459a843e1596c0ffe60c46e2e4d25 (diff)
downloadsnowflake-7caab017850fdf7cb79e93b60ab9bd6baa28b027.tar.gz
snowflake-7caab017850fdf7cb79e93b60ab9bd6baa28b027.zip
Fixed desynchronized comment and behavior for log interval
In 64ce7dff1b38ecda027d67c8ba54d8290755afa0, the log interval is modified while the comment is left unchanged.
Diffstat (limited to 'broker')
-rw-r--r--broker/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/broker/metrics.go b/broker/metrics.go
index 5d95cb4..fbf3452 100644
--- a/broker/metrics.go
+++ b/broker/metrics.go
@@ -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