We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d5072 commit ac626d1Copy full SHA for ac626d1
rpc/websocket.go
@@ -35,7 +35,7 @@ import (
35
const (
36
wsReadBuffer = 1024
37
wsWriteBuffer = 1024
38
- wsPingInterval = 30 * time.Second
+ wsPingInterval = (wsPongTimeout * 9) / 10
39
wsPingWriteTimeout = 5 * time.Second
40
wsPongTimeout = 30 * time.Second
41
wsMessageSizeLimit = 32 * 1024 * 1024
0 commit comments