Skip to content

Commit 051938b

Browse files
gzliudanjotto
andauthored
rpc: increase websocket frame size ethereum#26883 (#986)
This increases the maximum allowed message size to 32MB. Originally submitted at erigontech/erigon#2739 example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal Co-authored-by: Jonathan Otto <jonathan.otto@gmail.com>
1 parent 9c5712a commit 051938b

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)