Skip to content

Commit

Permalink
Increase websocket frame size (from erigon rpc client) (ethereum#26883)
Browse files Browse the repository at this point in the history
This increases the maximum allowed message size to 32MB.

Originally submitted at erigontech/erigon#2739

example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal
  • Loading branch information
jotto authored and shekhirin committed Jun 6, 2023
1 parent fbe14b8 commit a82ab72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (
wsPingInterval = 30 * time.Second
wsPingWriteTimeout = 5 * time.Second
wsPongTimeout = 30 * time.Second
wsMessageSizeLimit = 15 * 1024 * 1024
wsMessageSizeLimit = 32 * 1024 * 1024
)

var wsBufferPool = new(sync.Pool)
Expand Down

0 comments on commit a82ab72

Please sign in to comment.