mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-11 14:37:00 +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, @[])
|
var messages = t.table.getOrDefault(topic, @[])
|
||||||
|
|
||||||
if messages.len >= t.capacity.int:
|
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.
|
# Message cache on this topic exceeds maximum. Delete oldest.
|
||||||
# TODO: this may become a bottle neck if called as the norm rather than
|
# TODO: this may become a bottle neck if called as the norm rather than
|
||||||
# exception when adding messages. Performance profile needed.
|
# exception when adding messages. Performance profile needed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user