derp: fix omitted word in comment

Fix comment just added in 38f236c725.

Updates tailscale/corp#23668
Updates #cleanup

Change-Id: Icbe112e24fcccf8c61c759c631ad09f3e5480547
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/13739/head
Brad Fitzpatrick 2 months ago committed by Brad Fitzpatrick
parent 7f016baa87
commit f3de4e96a8

@ -1692,7 +1692,7 @@ func (c *sclient) sendLoop(ctx context.Context) error {
if werr = c.bw.Flush(); werr != nil { if werr = c.bw.Flush(); werr != nil {
return werr return werr
} }
if inBatch != 0 { // the first loop will almost hit default & be size zero if inBatch != 0 { // the first loop will almost always hit default & be size zero
c.s.bufferedWriteFrames.Observe(float64(inBatch)) c.s.bufferedWriteFrames.Observe(float64(inBatch))
inBatch = 0 inBatch = 0
} }

Loading…
Cancel
Save