mirror of
https://github.com/logos-messaging/go-waku-rendezvous.git
synced 2026-01-02 13:13:08 +00:00
fix: change log level when purging records
This commit is contained in:
parent
f5c80bd5ad
commit
94798e8221
2
svc.go
2
svc.go
@ -90,7 +90,7 @@ func (rz *RendezvousService) Stop() {
|
||||
|
||||
func (rz *RendezvousService) purgeOutdated() {
|
||||
keys := rz.cleaner.PopSince(time.Now())
|
||||
log.Info("removed records from cleaner", "deadlines", len(rz.cleaner.deadlines), "heap", len(rz.cleaner.heap), "lth", len(keys))
|
||||
log.Debug("removed records from cleaner", "deadlines", len(rz.cleaner.deadlines), "heap", len(rz.cleaner.heap), "lth", len(keys))
|
||||
for _, key := range keys {
|
||||
topic := TopicPart([]byte(key))
|
||||
log.Debug("Removing record with", "topic", string(topic))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user