mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-172: Merge keep-alive ping fix.
This commit is contained in:
@@ -1346,7 +1346,7 @@ Guacamole.Client = function(tunnel) {
|
|||||||
|
|
||||||
// Ping every 5 seconds (ensure connection alive)
|
// Ping every 5 seconds (ensure connection alive)
|
||||||
pingInterval = window.setInterval(function() {
|
pingInterval = window.setInterval(function() {
|
||||||
tunnel.sendMessage("sync", currentTimestamp);
|
tunnel.sendMessage("nop");
|
||||||
}, 5000);
|
}, 5000);
|
||||||
|
|
||||||
setState(STATE_WAITING);
|
setState(STATE_WAITING);
|
||||||
|
Reference in New Issue
Block a user