Skip to content

Commit

Permalink
rpc: decrease websocket ping interval (ethereum#26253)
Browse files Browse the repository at this point in the history
This is to cater for more node providers.
  • Loading branch information
Wihandebeer authored and shekhirin committed Jun 6, 2023
1 parent 2f38d8d commit 38577ee
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 @@ -35,7 +35,7 @@ import (
const (
wsReadBuffer = 1024
wsWriteBuffer = 1024
wsPingInterval = 60 * time.Second
wsPingInterval = 30 * time.Second
wsPingWriteTimeout = 5 * time.Second
wsPongTimeout = 30 * time.Second
wsMessageSizeLimit = 15 * 1024 * 1024
Expand Down

0 comments on commit 38577ee

Please sign in to comment.