We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72d0869 + 87a5600 commit 371b0d2Copy full SHA for 371b0d2
src/services/PollingBackend.ts
@@ -43,7 +43,7 @@ const FETCH_INTERVAL_READ_ONLY = 30000
43
* when a browser window is considered invisible by the page visibility API
44
* https://developer.mozilla.org/de/docs/Web/API/Page_Visibility_API
45
*/
46
-const FETCH_INTERVAL_INVISIBLE = 30000
+const FETCH_INTERVAL_INVISIBLE = 20000
47
48
const FETCH_INTERVAL_NOTIFY = 30000
49
src/services/y-websocket.js
@@ -129,7 +129,7 @@ messageHandlers[messageAuth] = (
129
}
130
131
// @todo - this should depend on awareness.outdatedTime
132
-const messageReconnectTimeout = 30000
+const messageReconnectTimeout = 40000
133
134
/**
135
* @param {WebsocketProvider} provider
0 commit comments