Remove overridden timeout
* We only need higher timeout when preparing deployments, where
timeout is overridden in SessionPrepareHandler
@@ -13,7 +13,6 @@ import com.yahoo.yolean.Exceptions;
import java.io.PrintWriter;
import java.io.StringWriter;
-import java.time.Duration;
import java.util.concurrent.Executor;
/**
@@ -70,13 +69,6 @@ public class HttpHandler extends LoggingRequestHandler {
}
}
- // Override default, since we need a higher timeout for some calls
- // TODO: Review and see if overriding only in SessionPrepareHandler is enough
- @Override
- public Duration getTimeout() {
- return Duration.ofSeconds(910);
- }
-
private String getMessage(Exception e, HttpRequest request) {
if (request.getBooleanProperty("debug")) {
StringWriter sw = new StringWriter();
