Skip to content

Commit

Permalink
commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
wtask committed Jul 16, 2019
1 parent c78dda2 commit 8d578a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/chat/broker/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8d578a9

Please sign in to comment.