Skip to content

Commit

Permalink
Lowered the ws read and write buffer sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Feb 5, 2025
1 parent a6aae35 commit 611dd72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (
)

const (
wsReadBuffer = 1024 * 1024
wsWriteBuffer = 1024 * 1024
wsReadBuffer = 1024
wsWriteBuffer = 1024
wsPingInterval = 60 * time.Second
wsPingWriteTimeout = 5 * time.Second
wsMessageSizeLimit = 210 * 1024 * 1024
Expand Down

0 comments on commit 611dd72

Please sign in to comment.