docs(nodes): clarify when staged traffic values are read

This commit is contained in:
Hamed Sanaei
2026-12-01 01:37:12 +03:30
parent 21f1fb1c4d
commit 6dc504b675
+1 -1
View File
@@ -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
}