fix: shorten session heartbeat interval to 15s
This commit is contained in:
@@ -28,7 +28,7 @@ const (
|
||||
pongWait = idleSessionTimeout
|
||||
|
||||
// Send pings to peer with this period. Must be less than pongWait.
|
||||
pingPeriod = 30 * time.Second
|
||||
pingPeriod = 15 * time.Second
|
||||
)
|
||||
|
||||
func (sess *Session) closeWS() {
|
||||
|
||||
Reference in New Issue
Block a user