Bladeren bron

comment typo: ChanneBufferSize -> ChannelBufferSize

Kevin Gillette 5 jaren geleden
bovenliggende
commit
65e4c5f990
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      config.go

+ 1 - 1
config.go

@@ -312,7 +312,7 @@ type Config struct {
 		// than this, that partition will stop fetching more messages until it
 		// can proceed again.
 		// Note that, since the Messages channel is buffered, the actual grace time is
-		// (MaxProcessingTime * ChanneBufferSize). Defaults to 100ms.
+		// (MaxProcessingTime * ChannelBufferSize). Defaults to 100ms.
 		// If a message is not written to the Messages channel between two ticks
 		// of the expiryTicker then a timeout is detected.
 		// Using a ticker instead of a timer to detect timeouts should typically