forked from External/ergo
increase buffer for a server channel
This commit is contained in:
parent
cc6f764c85
commit
f0773c4e9e
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ func NewServer(config *Config) *Server {
|
||||||
newConns: make(chan net.Conn, 16),
|
newConns: make(chan net.Conn, 16),
|
||||||
operators: config.OperatorsMap(),
|
operators: config.OperatorsMap(),
|
||||||
password: config.PasswordBytes(),
|
password: config.PasswordBytes(),
|
||||||
timeout: make(chan *Client),
|
timeout: make(chan *Client, 16),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, listenerConf := range config.Listeners {
|
for _, listenerConf := range config.Listeners {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue