Skip to content

Commit

Permalink
fixed: increase size of chan to avoid printing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed May 21, 2019
1 parent 95685ae commit d7b3709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsc.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func Accept(ctx context.Context, conn WSConnection, config Config) (Websocket, e
conn: conn,
readChan: make(chan []byte, config.ReadChanSize),
writeChan: make(chan []byte, config.WriteChanSize),
doneChan: make(chan error, 1),
doneChan: make(chan error, 2),
errChan: make(chan error, 10),
closeCodeCh: make(chan int, 1),
cancel: cancel,
Expand Down

0 comments on commit d7b3709

Please sign in to comment.