mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
increased "connection lost" timeout from 5 seconds to 30, it was way to common and mostly false positive
This commit is contained in:
parent
e8c52e25f0
commit
2582b016f9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user