mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 11:31:02 +00:00
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