From 12d05213482b34d1fd0f001564aaddf15f4b4089 Mon Sep 17 00:00:00 2001 From: Andrei Mihu Date: Wed, 1 May 2019 13:41:30 +0100 Subject: [PATCH] Adjust default socket ping and pong timings. --- CHANGELOG.md | 3 +++ server/config.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35b619da8..6ac42daf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr ## [Unreleased] ### Changed - Storage object get operations now also return the user ID if the owner is the root user. +- Adjust default socket ping and pong timings. ### Fixed - Correctly display counters on console status page. @@ -15,6 +16,8 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr - Correctly update wallet on console user details page. - Correctly display custom ID, email, and verification time on console user details page. - Add missing placeholder text to fields on console user details page. +- Console status page no longer refreshes if server is not reachable. +- Correctly refresh console storage page when deleting records. ## [2.5.0] - 2019-04-25 ### Added diff --git a/server/config.go b/server/config.go index 5cbdd628d..c62f6f06f 100644 --- a/server/config.go +++ b/server/config.go @@ -547,8 +547,8 @@ func NewSocketConfig() *SocketConfig { WriteTimeoutMs: 10 * 1000, IdleTimeoutMs: 60 * 1000, WriteWaitMs: 5000, - PongWaitMs: 13000, - PingPeriodMs: 8000, + PongWaitMs: 25000, + PingPeriodMs: 15000, PingBackoffThreshold: 20, OutgoingQueueSize: 64, SSLCertificate: "", -- GitLab