increased "connection lost" timeout from 5 seconds to 30, it was way to common and mostly false positive

This commit is contained in:
azivner 2018-02-20 07:52:39 -05:00
parent e8c52e25f0
commit 2582b016f9

View File

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