Skip to content

Commit

Permalink
0002887: Update sym_service.conf with setting for http server response
Browse files Browse the repository at this point in the history
timeout. Reduce the default timeout from 2 hours to 1 minute
  • Loading branch information
chenson42 committed Nov 2, 2016
1 parent 65c9100 commit e918bc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions symmetric-server/src/main/deploy/conf/sym_service.conf
Expand Up @@ -45,6 +45,9 @@ wrapper.java.maxmemory=1024
# Application main class and arguments
wrapper.app.parameter.1=org.jumpmind.symmetric.SymmetricLauncher

# This how long Jetty will wait until timing out on an HTTP response
wrapper.app.parameter.2=--max-idle-time=60000

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
Expand Down
Expand Up @@ -104,7 +104,7 @@ public class SymmetricWebServer {

public static final String DEFAULT_HTTPS_PORT = System.getProperty(SystemConstants.SYSPROP_DEFAULT_HTTPS_PORT, "31417");

public static final int DEFAULT_MAX_IDLE_TIME = 7200000;
public static final int DEFAULT_MAX_IDLE_TIME = 60000;

/**
* The type of HTTP connection to create for this SymmetricDS web server
Expand Down

0 comments on commit e918bc4

Please sign in to comment.