From 2582b016f976ddc941eb520ac98603786c448b6e Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 20 Feb 2018 07:52:39 -0500 Subject: [PATCH] increased "connection lost" timeout from 5 seconds to 30, it was way to common and mostly false positive --- src/public/javascripts/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/javascripts/messaging.js b/src/public/javascripts/messaging.js index 2ad1c0127..15eeeeab0 100644 --- a/src/public/javascripts/messaging.js +++ b/src/public/javascripts/messaging.js @@ -84,7 +84,7 @@ const messaging = (function() { let connectionBrokenNotification = null; setInterval(async () => { - if (new Date().getTime() - lastPingTs > 5000) { + if (new Date().getTime() - lastPingTs > 30000) { if (!connectionBrokenNotification) { connectionBrokenNotification = $.notify({ // options