[fix] connection: not working set ModWriteChanSize

pull/12/head
Jae-Sung Lee 2 years ago
parent 104b0f77f8
commit fb71d367b4

@ -230,7 +230,7 @@ func (c *connection) ModWriteChanSize(n int) {
if c.option.WriteChanSize > 0 { if c.option.WriteChanSize > 0 {
panic(ErrConnectionPanic) panic(ErrConnectionPanic)
} }
if c.option.WriteChanSize == 0 { if n == 0 {
return return
} }

Loading…
Cancel
Save