forked from cerc-io/plugeth
rpc: decrease websocket ping interval (#26253)
This is to cater for more node providers.
This commit is contained in:
parent
6a4e05c93a
commit
8c6e74eed4
@ -35,7 +35,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
wsReadBuffer = 1024
|
wsReadBuffer = 1024
|
||||||
wsWriteBuffer = 1024
|
wsWriteBuffer = 1024
|
||||||
wsPingInterval = 60 * time.Second
|
wsPingInterval = 30 * time.Second
|
||||||
wsPingWriteTimeout = 5 * time.Second
|
wsPingWriteTimeout = 5 * time.Second
|
||||||
wsPongTimeout = 30 * time.Second
|
wsPongTimeout = 30 * time.Second
|
||||||
wsMessageSizeLimit = 15 * 1024 * 1024
|
wsMessageSizeLimit = 15 * 1024 * 1024
|
||||||
|
Loading…
Reference in New Issue
Block a user