Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
Update cmd/sam-hub/sync.go
Antonio Ojeaae5bc21d54d4
diff --git a/cmd/sam-hub/sync.go b/cmd/sam-hub/sync.goindex 65e19926..5f113601 100644--- a/cmd/sam-hub/sync.go+++ b/cmd/sam-hub/sync.go@@ -266,7 +266,7 @@ func (h *Hub) pruneStaleData() {nowMilli := now.UnixMilli()for p, ts := range h.gater.lastUpdated {if !h.gater.authenticated[p] {- if nowMilli-ts > 3600*1000 { // 1 hour+ if nowMilli-ts > int64(time.Hour/time.Millisecond) {delete(h.gater.lastUpdated, p)logger.Debugf("Pruned transient peer %s from lastUpdated", p.String())}