rpc: decrease websocket ping interval (#26253)

This is to cater for more node providers.
This commit is contained in:
Wihan de Beer
2022-11-25 16:29:38 +01:00
committed by GitHub
parent 6a4e05c93a
commit 8c6e74eed4
+1 -1
View File
@@ -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