GUAC-867: Fix comment regarding keep-alive interval.

This commit is contained in:
Michael Jumper
2014-10-13 03:46:49 -07:00
parent 04ba001f15
commit b55adfa9a8

View File

@@ -1015,7 +1015,7 @@ GuacUI.Client.connect = function() {
connect_string += "&video=" + encodeURIComponent(mimetype);
});
// Ping server every 10 seconds
// Ping server occasionally to keep HTTP session alive
var session_keep_alive = window.setInterval(function _session_keep_alive() {
GuacamoleService.KeepAlive.ping();
}, GuacUI.Client.KEEP_ALIVE_INTERVAL);