Skip to content

Commit 376cb0c

Browse files
committed
fix timeout handling
1 parent 55e563d commit 376cb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/robaho/net/httpserver/ServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public boolean isLoggable(LogRecord record) {
150150
dispatcher = new Dispatcher();
151151
timer = new Timer("connection-cleaner", true);
152152
timer.schedule(new ConnectionCleanerTask(), IDLE_TIMER_TASK_SCHEDULE, IDLE_TIMER_TASK_SCHEDULE);
153-
timer.schedule(ActivityTimer.createTask(),750);
153+
timer.schedule(ActivityTimer.createTask(),750,750);
154154
logger.log(Level.DEBUG, "HttpServer created " + protocol + " " + addr);
155155
if(Boolean.getBoolean("robaho.net.httpserver.EnableStats")) {
156156
createContext("/__stats",new StatsHandler());

0 commit comments

Comments
 (0)