mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
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>
This commit is contained in:
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…
Reference in New Issue
Block a user