Skip to content

Commit

Permalink
[JENKINS-49596] - Increase the default session eviction timeout to 30min
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Feb 23, 2018
1 parent 15941f8 commit a18027d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -90,8 +90,9 @@ To run different web applications for diffent virtual hosts:

--useJasper = enable jasper JSP handling (true/false). Default is false
--sessionTimeout = set the http session timeout value in minutes. Default to what webapp specifies, and then to 60 minutes
--sessionEviction = Set the session evition timeout for idle sessions. Default value is 180s.
(-1 is never evict; 0 is evict-on-exit; and any other positive value is the time in seconds that a session can be idle before it can be evicted)
--sessionEviction = Set the session evition timeout for idle sessions. Default value is 30min.
(-1 is never evict; 0 is evict-on-exit; and any other positive value is the time
in seconds that a session can be idle before it can be evicted)
--mimeTypes=ARG = define additional MIME type mappings. ARG would be EXT=MIMETYPE:EXT=MIMETYPE:...
(e.g., xls=application/vnd.ms-excel:wmf=application/x-msmetafile)
--maxParamCount=N = set the max number of parameters allowed in a form submission to protect
Expand Down
2 changes: 1 addition & 1 deletion src/java/winstone/cmdline/Option.java
Expand Up @@ -97,7 +97,7 @@ public static List<Option<?>> all(Class<?> clazz) {
public static final OInt MAX_PARAM_COUNT=integer("maxParamCount",-1);
public static final OBoolean USAGE=bool("usage",false);
public static final OInt SESSION_TIMEOUT=integer("sessionTimeout",-1);
public static final OInt SESSION_EVICTION=integer("sessionEviction",180);
public static final OInt SESSION_EVICTION=integer("sessionEviction",1800);
public static final OInt REQUEST_HEADER_SIZE=integer("requestHeaderSize",8192); // default for jetty 9
public static final OInt REQUEST_FORM_CONTENT_SIZE=integer("requestFormContentSize",-1); // no limit (compat with old winstone)
public static final OBoolean HELP=bool("help",false);
Expand Down

0 comments on commit a18027d

Please sign in to comment.