-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/sync stops working when the tab becomes inactive #7620
Comments
information dump time: This is a regression introduced by matrix-org/matrix-js-sdk#764. Something in This particular bug is only noticeable on larger accounts due to resource consumption (probably). Chrome, and other browsers, will forcefully pause some APIs (like timers) when the tab is not in the foreground. This is usually only invoked when the process is using a lot of resources or the system is otherwise strained for resources. In my case, the system is not strained for resources however my account appears to be just past the tipping point for Chrome to pause things. This is why smaller accounts probably won't see the problem at all. Switching Neither repository appears to have an issue already open for this. Then again, we might be the first to have a high resource usage app which also uses request browserified. There's a few ways forward on this issue:
Option 1 is probably the best option given 2 is just a hack and 3 is wildly out of scope. |
Because `request` just doesn't work for us in the browser, but `browser-request` is fine despite us having to do our own query strings. Fixes element-hq/element-web#7620
Fixed by matrix-org/matrix-js-sdk#770. Future maintenance recorded at #7634. |
Because `request` just doesn't work for us in the browser, but `browser-request` is fine despite us having to do our own query strings. Fixes element-hq/element-web#7620
The system is not constrained for resources, and Chrome looks happy. Might have something to do with switching to browserified request
The text was updated successfully, but these errors were encountered: