rpc: decrease websocket ping interval (#26253)

This is to cater for more node providers.
pull/26265/head
Wihan de Beer 2 years ago committed by GitHub
parent 6a4e05c93a
commit 8c6e74eed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      rpc/websocket.go

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

Loading…
Cancel
Save