Skip to content

Commit 0d0e4c3

Browse files
committed
good review dog
1 parent f7c3cbb commit 0d0e4c3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmd/tealdbg/server.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ import (
3131
)
3232

3333
const (
34-
// WebSocketBufferSize is the size of the buffer for the
34+
// WebSocketReadBufferSize is the size of the ReadBuffer for the
3535
// tealdbg/cdt websocket session.
3636
// A buffer that is too small will cause the session to choke
3737
// during the `getScriptSource` call and the session cannot recover.
38-
WebSocketReadBufferSize = 81920
38+
WebSocketReadBufferSize = 81920
39+
40+
// WebSocketWriteBufferSize is the size of the WriteBuffer for the
41+
// tealdbg/cdt websocket session.
42+
// The reasoning for the size is the same as above
3943
WebSocketWriteBufferSize = 81920
4044
)
4145

0 commit comments

Comments
 (0)