Просмотр исходного кода

derp: fix omitted word in comment

Fix comment just added in 38f236c7259.

Updates tailscale/corp#23668
Updates #cleanup

Change-Id: Icbe112e24fcccf8c61c759c631ad09f3e5480547
Signed-off-by: Brad Fitzpatrick <[email protected]>
Brad Fitzpatrick 1 год назад
Родитель
Сommit
f3de4e96a8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      derp/derp_server.go

+ 1 - 1
derp/derp_server.go

@@ -1692,7 +1692,7 @@ func (c *sclient) sendLoop(ctx context.Context) error {
 			if werr = c.bw.Flush(); werr != nil {
 				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))
 				inBatch = 0
 			}