Tweaking idle timeout

This commit is contained in:
Joakim Erdfelt 2013-12-20 11:58:24 -07:00
parent 5cf9640cfa
commit 5380430b75
2 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,6 @@ public class JsrBrowserDebugTool
server.setHandler(context);
ServerContainer container = WebSocketServerContainerInitializer.configureContext(context);
container.setDefaultMaxSessionIdleTimeout(5000);
container.addEndpoint(JsrBrowserSocket.class);
LOG.info("{} setup on port {}",this.getClass().getName(),port);

View File

@ -113,7 +113,7 @@ public class BrowserDebugTool implements WebSocketCreator
factory.setCreator(BrowserDebugTool.this);
// Set the timeout
factory.getPolicy().setIdleTimeout(5000);
factory.getPolicy().setIdleTimeout(30000);
}
};