Skip to content

Commit 92f4871

Browse files
CaraWangmarkya0616
authored andcommitted
rpc: enlarge read limit to 128MB
1 parent 43bbc2c commit 92f4871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/websocket.go

+1-1
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-
wsMessageSizeLimit = 32 * 1024 * 1024
41+
wsMessageSizeLimit = 128 * 1024 * 1024
4242
)
4343

4444
var wsBufferPool = new(sync.Pool)

0 commit comments

Comments
 (0)