Explorar o código

comment typo: ChanneBufferSize -> ChannelBufferSize

Kevin Gillette %!s(int64=5) %!d(string=hai) anos
pai
achega
65e4c5f990
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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