[X2Go-Commits] [x2gohtmlclient] 01/02: src/x2gokdrivehtmlclient.js: Send client keepalive ping every 10 seconds, server expects at least one ping every 30 seconds.
git-admin at x2go.org
git-admin at x2go.org
Tue Jan 16 16:44:37 CET 2024
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gohtmlclient.
commit 65932424be50fde8f044610fdee668b3665d3337
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Jan 16 16:15:24 2024 +0100
src/x2gokdrivehtmlclient.js: Send client keepalive ping every 10 seconds, server expects at least one ping every 30 seconds.
---
src/x2gokdrivehtmlclient.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/x2gokdrivehtmlclient.js b/src/x2gokdrivehtmlclient.js
index 9cfd1c8..a905ab8 100644
--- a/src/x2gokdrivehtmlclient.js
+++ b/src/x2gokdrivehtmlclient.js
@@ -898,7 +898,7 @@ X2GoKDriveHTMLClient
let app = this;
if (!this.__sendAlive)
{
- //send client version to server every minute to keep alive the connection
+ //send client version to server every 10 seconds to keep alive the connection
this.__sendAlive = setInterval(function ()
{
let serverVersion = parseInt(app.__serverVersion);
@@ -916,7 +916,7 @@ X2GoKDriveHTMLClient
{
app.sendKeepAlive();
}
- }, 60000);
+ }, 10000);
}
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gohtmlclient.git
More information about the x2go-commits
mailing list