Skip to content

Commit

Permalink
rpc: enlarge read limit to 128MB
Browse files Browse the repository at this point in the history
  • Loading branch information
CaraWang authored and Howard Sun committed Oct 30, 2023
1 parent e7c9891 commit 3da53b5
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 = 32 * 1024 * 1024
wsMessageSizeLimit = 128 * 1024 * 1024
)

var wsBufferPool = new(sync.Pool)
Expand Down

0 comments on commit 3da53b5

Please sign in to comment.