Limit the query node timetick log rate (#17065)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/17101/head
congqixia 2022-05-19 10:19:56 +08:00 committed by GitHub
parent 9eeec4a2d5
commit 7eb6fcfb34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (stNode *serviceTimeNode) Operate(in []flowgraph.Msg) []flowgraph.Msg {
)
}
p, _ := tsoutil.ParseTS(serviceTimeMsg.timeRange.timestampMax)
log.Debug("update tSafe:",
log.RatedDebug(10.0, "update tSafe:",
zap.Any("collectionID", stNode.collectionID),
zap.Any("tSafe", serviceTimeMsg.timeRange.timestampMax),
zap.Any("tSafe_p", p),