mirror of
https://github.com/logos-messaging/go-waku-rendezvous.git
synced 2026-01-07 23:53:11 +00:00
fix: change log level when purging records
This commit is contained in:
parent
e8f25fa062
commit
a0d71f947c
2
svc.go
2
svc.go
@ -90,7 +90,7 @@ func (rz *RendezvousService) Stop() {
|
|||||||
|
|
||||||
func (rz *RendezvousService) purgeOutdated() {
|
func (rz *RendezvousService) purgeOutdated() {
|
||||||
keys := rz.cleaner.PopSince(time.Now())
|
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 {
|
for _, key := range keys {
|
||||||
topic := TopicPart([]byte(key))
|
topic := TopicPart([]byte(key))
|
||||||
log.Debug("Removing record with", "topic", string(topic))
|
log.Debug("Removing record with", "topic", string(topic))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user