Skip to content
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

WebUI ping for inactive tabs #2549

Open
mcspr opened this issue Oct 28, 2022 · 0 comments
Open

WebUI ping for inactive tabs #2549

mcspr opened this issue Oct 28, 2022 · 0 comments

Comments

@mcspr
Copy link
Collaborator

mcspr commented Oct 28, 2022

ref. #2544

Annoying window saying "Connection lost with the device, click OK to refresh the page" after 5 minutes of idleness.
Firefox cheeky switches to this tab every 5 minutes! (In version 1.14, there were no such problems at all)

subj.

Connection itself seems to be protected, only timers are an issue.

Tabs running code that's using real-time network connections (WebSockets and WebRTC) go unthrottled in order to avoid closing these connections timing out and getting unexpectedly closed.

Chrome supposedly does throttling on timers as well

Beginning in M87, we’re throttling JavaScript timer wake-ups in background tabs to once per minute.

Mobile versions are expected to do even more :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant