change default session timeout to 30min. close #342

This commit is contained in:
hengyunabc
2019-02-08 15:18:06 +08:00
parent 4eb0eec182
commit ec7c5aea33
3 changed files with 5 additions and 5 deletions
@@ -19,7 +19,7 @@ public class ShellServerOptions {
/**
* Default time, in ms, that a shell session lasts for without being accessed before expiring.
*/
public static final long DEFAULT_SESSION_TIMEOUT = 5 * 60 * 1000; // 5 minutes
public static final long DEFAULT_SESSION_TIMEOUT = 30 * 60 * 1000; // 30 minutes
/**
* Default time, in ms, that a server waits for a client to connect