DaanHoogland commented on code in PR #13058:
URL: https://github.com/apache/cloudstack/pull/13058#discussion_r3765986218
##########
services/console-proxy/server/src/main/java/com/cloud/consoleproxy/ConsoleProxy.java:
##########
@@ -53,23 +56,33 @@
public class ConsoleProxy {
protected static Logger LOGGER = LogManager.getLogger(ConsoleProxy.class);
+
public static final int KEYBOARD_RAW = 0;
public static final int KEYBOARD_COOKED = 1;
+
public static final int VIEWER_LINGER_SECONDS = 180;
+ // New: default and effective session timeout (milliseconds) honoured from
consoleproxy.session.timeout
+ public static final int DEFAULT_SESSION_TIMEOUT_MILLIS = 300000;
+ public static volatile int sessionTimeoutMillis =
DEFAULT_SESSION_TIMEOUT_MILLIS;
Review Comment:
```suggestion
public static final long DEFAULT_SESSION_TIMEOUT_MILLIS = 300000;
public static volatile long sessionTimeoutMillis =
DEFAULT_SESSION_TIMEOUT_MILLIS;
```
--
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]