Skip to content

Commit 6bc68f8

Browse files
authored
Increase websocket frame size (from erigon rpc client) (#26883)
This increases the maximum allowed message size to 32MB. Originally submitted at erigontech/erigon#2739 example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal
1 parent b5c9be3 commit 6bc68f8

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

4444
var wsBufferPool = new(sync.Pool)

0 commit comments

Comments
 (0)