Skip to content

Commit

Permalink
Reduce the remote desktop idle timer to 14s: the idle timer should ac…
Browse files Browse the repository at this point in the history
…tivate before the guacamole 15s timeout preventing the error from being reported. Fixes #19.
  • Loading branch information
stuartcaunt committed Dec 9, 2024
1 parent bb8ec82 commit 9aa1487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public record DesktopSessionMember(String clientId, ConnectedUser connectedUser, RemoteDesktopConnection remoteDesktopConnection, DesktopSession session, IdleHandler idleSessionHandler) {

private static final Logger logger = LoggerFactory.getLogger(DesktopSessionMember.class);
private static final int IDLE_TIMEOUT_SECONDS = 30;
private static final int IDLE_TIMEOUT_SECONDS = 14;

public DesktopSessionMember(String clientId, ConnectedUser connectedUser, RemoteDesktopConnection remoteDesktopConnection, DesktopSession session) {
this(clientId, connectedUser, remoteDesktopConnection, session, new IdleHandler(remoteDesktopConnection.getClient().protocol().equals(DesktopService.GUACAMOLE_PROTOCOL), IDLE_TIMEOUT_SECONDS));
Expand Down

0 comments on commit 9aa1487

Please sign in to comment.