Skip to content

Commit db63063

Browse files
CaraWangyysung1123
authored andcommitted
rpc: enlarge read limit to 128MB
1 parent 43bf82c commit db63063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/websocket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
wsPingInterval = 30 * time.Second
3939
wsPingWriteTimeout = 5 * time.Second
4040
wsPongTimeout = 30 * time.Second
41-
wsDefaultReadLimit = 32 * 1024 * 1024
41+
wsDefaultReadLimit = 128 * 1024 * 1024
4242
)
4343

4444
var wsBufferPool = new(sync.Pool)

0 commit comments

Comments
 (0)