2 parents 177bbb9 + 564b4c9 commit 0e79387Copy full SHA for 0e79387
2 files changed
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