From 6dc504b67575576c00ec89aca4b646aa409f88e7 Mon Sep 17 00:00:00 2001 From: Hamed Sanaei Date: Tue, 1 Dec 2026 01:37:12 +0330 Subject: [PATCH] docs(nodes): clarify when staged traffic values are read --- internal/web/service/inbound_node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/service/inbound_node.go b/internal/web/service/inbound_node.go index 170b56947..5ca1f4bc8 100644 --- a/internal/web/service/inbound_node.go +++ b/internal/web/service/inbound_node.go @@ -1536,7 +1536,7 @@ func (s *InboundService) setRemoteTrafficLocked(nodeID int, snap *runtime.Traffi adoptedSettings := p.wireSettings liftChanged := false if adopt && !isNew { - // Use the traffic deltas just applied to this transaction (#6228). + // Use the staged traffic values before flushing their SQL updates (#6228). if lifted, changed := liftClientLifecycleInSettings(p.wireSettings, statByEmail); changed { adoptedSettings, liftChanged = lifted, true }