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:
parent
cc6f764c85
commit
f0773c4e9e
@ -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…
Reference in New Issue
Block a user