mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +08:00
tools: disabled idle in Jetty server (#894)
This commit is contained in:
parent
32ae1ab8f0
commit
287333b54e
@ -107,6 +107,7 @@ public class BrowserRunner {
|
||||
private void runServer() {
|
||||
server = new Server();
|
||||
var connector = new ServerConnector(server);
|
||||
connector.setIdleTimeout(0);
|
||||
server.addConnector(connector);
|
||||
|
||||
var context = new ServletContextHandler(ServletContextHandler.SESSIONS);
|
||||
|
@ -55,6 +55,7 @@ public class ChromeRDPServer {
|
||||
server = new Server();
|
||||
ServerConnector connector = new ServerConnector(server);
|
||||
connector.setPort(port);
|
||||
connector.setIdleTimeout(0);
|
||||
server.addConnector(connector);
|
||||
|
||||
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
|
||||
|
@ -120,6 +120,7 @@ public class DevServer {
|
||||
server = new Server();
|
||||
ServerConnector connector = new ServerConnector(server);
|
||||
connector.setPort(port);
|
||||
connector.setIdleTimeout(0);
|
||||
server.addConnector(connector);
|
||||
|
||||
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
|
||||
|
Loading…
Reference in New Issue
Block a user