Skip to content

Commit

Permalink
rpc: enlarger the read limit to 100MB
Browse files Browse the repository at this point in the history
  • Loading branch information
CaraWang committed Apr 22, 2022
1 parent 2324bed commit efcd369
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 @@ -37,7 +37,7 @@ const (
wsWriteBuffer = 1024
wsPingInterval = 60 * time.Second
wsPingWriteTimeout = 5 * time.Second
wsMessageSizeLimit = 30 * 1024 * 1024
wsMessageSizeLimit = 100 * 1024 * 1024
)

var wsBufferPool = new(sync.Pool)
Expand Down

0 comments on commit efcd369

Please sign in to comment.