mike-jumper opened a new pull request, #764:
URL: https://github.com/apache/guacamole-client/pull/764

   From [GUACAMOLE-1687](https://issues.apache.org/jira/browse/GUACAMOLE-1687):
   
   > Chrome, the various Chromium variants, and Safari will heavily throttle 
JavaScript timers within background tabs and windows. This prevents the tunnel 
from issuing its keep-alive ping and may result in a disconnect.
   
   This change alters the way the keep-alive pings are sent, leveraging the 
pings received from the server to signal that another ping may need to be sent. 
Pings are still scheduled using JavaScript timers, but:
   
   * Non-chained timeouts are used instead of chained timeouts or 
`setInterval()` (to avoid running into [Chrome's heavy throttling 
criteria](https://developer.chrome.com/blog/timer-throttling-in-chrome-88/)).
   * Those pings will now be sent _immediately_ if enough time has elapsed 
since the last time a ping was sent.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to