[tor-commits] [pluggable-transports/snowflake] 20/31: Fixed desynchronized comment and behavior for log interval
gitolite role
git at cupani.torproject.org
Thu Jun 16 17:04:07 UTC 2022
This is an automated email from the git hooks/post-receive script.
shelikhoo pushed a commit to branch main
in repository pluggable-transports/snowflake.
commit 7caab017850fdf7cb79e93b60ab9bd6baa28b027
Author: Shelikhoo <xiaokangwang at outlook.com>
AuthorDate: Mon May 2 14:15:41 2022 +0100
Fixed desynchronized comment and behavior for log interval
In 64ce7dff1b38ecda027d67c8ba54d8290755afa0, the log interval is modified while the comment is left unchanged.
---
broker/metrics.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list