From 8d578a9bdd384102f1e3f387cc659368a4324193 Mon Sep 17 00:00:00 2001 From: Mike Mikhailov Date: Tue, 16 Jul 2019 09:59:23 +0300 Subject: [PATCH] commenting --- internal/chat/broker/options.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/chat/broker/options.go b/internal/chat/broker/options.go index 292213d..ed14aa8 100644 --- a/internal/chat/broker/options.go +++ b/internal/chat/broker/options.go @@ -76,8 +76,6 @@ func WithReadTick(tick time.Duration) brokerOption { } // WithBufferSize - overwrites default parameters for buffering of incoming messages. -// If the size of message in buffer exceeds packet size on every read tick -// OR equals to complete size just after reading, so it will be send into inbox channel. func WithBufferSize(size int) brokerOption { return func(b *Broker) error { if size <= 0 {