mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user