mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-29 02:54:47 -07:00
increase buffer for a server channel
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user