We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c3cbb commit 0d0e4c3Copy full SHA for 0d0e4c3
cmd/tealdbg/server.go
@@ -31,11 +31,15 @@ import (
31
)
32
33
const (
34
- // WebSocketBufferSize is the size of the buffer for the
+ // WebSocketReadBufferSize is the size of the ReadBuffer for the
35
// tealdbg/cdt websocket session.
36
// A buffer that is too small will cause the session to choke
37
// during the `getScriptSource` call and the session cannot recover.
38
- WebSocketReadBufferSize = 81920
+ 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
43
WebSocketWriteBufferSize = 81920
44
45
0 commit comments