3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

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

View File

@ -42,7 +42,7 @@ func NewServer(config *Config) *Server {
newConns: make(chan net.Conn, 16),
operators: config.OperatorsMap(),
password: config.PasswordBytes(),
timeout: make(chan *Client),
timeout: make(chan *Client, 16),
}
for _, listenerConf := range config.Listeners {