mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-15 17:11:54 -07:00
socket: Add a simple println when SendQ exceeded, config comment update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user