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 17:29:38 +02:00 committed by GitHub
parent 6a4e05c93a
commit 8c6e74eed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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