From 274eab71c411d4b97234eae56018757351c01e53 Mon Sep 17 00:00:00 2001 From: Daniel Pupius Date: Mon, 16 Mar 2026 17:57:12 +0000 Subject: [PATCH] chore: go fmt Co-Authored-By: Claude Sonnet 4.6 --- mqtt/broker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mqtt/broker.go b/mqtt/broker.go index 44949b0..1b0b6a7 100644 --- a/mqtt/broker.go +++ b/mqtt/broker.go @@ -82,9 +82,9 @@ type entry struct { type NodeAwareCache struct { mu sync.Mutex entries []entry - nodeLastSeen map[uint32]int64 // nodeID → unix timestamp of most recent packet - routerNodes map[uint32]bool // nodeIDs identified as router-role devices - maxSize int // global safety cap + nodeLastSeen map[uint32]int64 // nodeID → unix timestamp of most recent packet + routerNodes map[uint32]bool // nodeIDs identified as router-role devices + maxSize int // global safety cap retention time.Duration nowFunc func() time.Time // injectable for testing }