Unverified Commit 8c6e74ee authored by Wihan de Beer's avatar Wihan de Beer Committed by GitHub

rpc: decrease websocket ping interval (#26253)

This is to cater for more node providers.
parent 6a4e05c9
...@@ -35,7 +35,7 @@ import ( ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment