summaryrefslogtreecommitdiff
path: root/m4p/client.go
diff options
context:
space:
mode:
authorMathias Fredriksson <mafredri@gmail.com>2022-02-09 00:07:40 +0200
committerMathias Fredriksson <mafredri@gmail.com>2022-02-09 00:07:40 +0200
commit723ded6d7c70120ce8b8c60f59c993ec26d0cd87 (patch)
tree66e7793f67aaed2906399cdcc4d8f33e2040d6b7 /m4p/client.go
parent2bf53f0397f16ee0367be99373b57dadf1742195 (diff)
m4p: Fix faulty comment
Diffstat (limited to 'm4p/client.go')
-rw-r--r--m4p/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/m4p/client.go b/m4p/client.go
index 3467b3f..c7bb897 100644
--- a/m4p/client.go
+++ b/m4p/client.go
@@ -67,7 +67,7 @@ func Dial(ctx context.Context, addr string, opts ...DialOption) (*Client, error)
conn: conn,
opts: o,
serverKeepalive: make(chan struct{}, 1),
- recvBuf: make(chan Message, 10), // Buffer up to 10 messages after which we block.
+ recvBuf: make(chan Message, 10), // Buffer up to 10 messages after which we discard them.
}
// Register our client with the server.