소스 검색

socket: Add a simple println when SendQ exceeded, config comment update

tags/v0.7.0
Daniel Oaks 7 년 전
부모
커밋
f5536d7945
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      irc/socket.go
  2. 1
    0
      oragono.yaml

+ 1
- 0
irc/socket.go 파일 보기

@@ -148,6 +148,7 @@ func (socket *Socket) RunSocketWriter() {
148 148
 			}
149 149
 			if socket.MaxSendQBytes < sendQBytes {
150 150
 				socket.conn.Write([]byte("\r\nERROR :SendQ Exceeded\r\n"))
151
+				fmt.Println("SendQ exceeded, disconnected client")
151 152
 				break
152 153
 			}
153 154
 

+ 1
- 0
oragono.yaml 파일 보기

@@ -66,6 +66,7 @@ server:
66 66
     motd: oragono.motd
67 67
 
68 68
     # maximum length of clients' sendQ in bytes
69
+    # this should be big enough to hold /LIST and HELP replies
69 70
     max-sendq: 16k
70 71
 
71 72
     # maximum number of connections per subnet

Loading…
취소
저장