mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +01:00
socket: Add a simple println when SendQ exceeded, config comment update
This commit is contained in:
parent
c3be2d0d46
commit
f5536d7945
@ -148,6 +148,7 @@ func (socket *Socket) RunSocketWriter() {
|
||||
}
|
||||
if socket.MaxSendQBytes < sendQBytes {
|
||||
socket.conn.Write([]byte("\r\nERROR :SendQ Exceeded\r\n"))
|
||||
fmt.Println("SendQ exceeded, disconnected client")
|
||||
break
|
||||
}
|
||||
|
||||
|
@ -66,6 +66,7 @@ server:
|
||||
motd: oragono.motd
|
||||
|
||||
# maximum length of clients' sendQ in bytes
|
||||
# this should be big enough to hold /LIST and HELP replies
|
||||
max-sendq: 16k
|
||||
|
||||
# maximum number of connections per subnet
|
||||
|
Loading…
Reference in New Issue
Block a user