mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-30 00:25:45 +00:00
chore: lower per-message log level to trace (#1561)
This commit is contained in:
parent
9258914057
commit
740e4f2bd6
@ -53,7 +53,7 @@ proc addMessage*[K](t: MessageCache, topic: K, msg: WakuMessage) =
|
||||
var messages = t.table.getOrDefault(topic, @[])
|
||||
|
||||
if messages.len >= t.capacity.int:
|
||||
debug "Topic cache capacity reached", topic=topic
|
||||
trace "Topic cache capacity reached", topic=topic
|
||||
# Message cache on this topic exceeds maximum. Delete oldest.
|
||||
# TODO: this may become a bottle neck if called as the norm rather than
|
||||
# exception when adding messages. Performance profile needed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user