increase buffer for a server channel

This commit is contained in:
Jeremy Latt 2014-02-24 19:00:09 -08:00
parent cc6f764c85
commit f0773c4e9e
1 changed files with 1 additions and 1 deletions

View File

@ -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 {