Compare commits

...
1 Commits
Author SHA1 Message Date
Prem Chaitanya Prathi 24932b529c chore: disable filter logs to prevent spam (#1275)
ci / env (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / changes (push) Has been cancelled
ci / build-macos-latest (push) Has been cancelled
ci / build-ubuntu-latest (push) Has been cancelled
ci / test-ci (push) Has been cancelled
ci / test-with-race (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
2025-02-18 11:16:16 +05:30
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -111,8 +111,6 @@ func (mgr *FilterManager) startFilterSubLoop() {
mgr.incompleteFilterBatch = make(map[string]filterConfig)
mgr.Unlock()
}
subs := mgr.node.Subscriptions()
mgr.logger.Debug("filter stats", zap.Int("agg filters count", len(mgr.filterSubscriptions)), zap.Int("filter subs count", len(subs)))
}
}
}
@@ -25,7 +25,7 @@ func (wf *WakuFilterLightNode) PingPeer(peer peer.ID) {
defer cancel()
err := wf.Ping(ctxWithTimeout, peer)
if err != nil && wf.onlineChecker.IsOnline() {
wf.log.Warn("Filter ping failed towards peer", zap.Stringer("peer", peer), zap.Error(err))
wf.log.Info("Filter ping failed towards peer", zap.Stringer("peer", peer), zap.Error(err))
//quickly retry ping again before marking subscription as failure
//Note that PingTimeout is a fraction of PingInterval so this shouldn't cause parallel pings being sent.
ctxWithTimeout, cancel := context.WithTimeout(wf.CommonService.Context(), PingTimeout)