diff --git a/src/main/java/io/cryostat/net/web/http/api/beta/TargetReportGetHandler.java b/src/main/java/io/cryostat/net/web/http/api/beta/TargetReportGetHandler.java index 18a31a5ce9..828d9496fc 100644 --- a/src/main/java/io/cryostat/net/web/http/api/beta/TargetReportGetHandler.java +++ b/src/main/java/io/cryostat/net/web/http/api/beta/TargetReportGetHandler.java @@ -41,7 +41,6 @@ import java.util.Set; import java.util.concurrent.CompletionException; import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; import javax.inject.Inject; @@ -54,7 +53,6 @@ import io.cryostat.net.web.WebServer; import io.cryostat.net.web.http.HttpMimeType; import io.cryostat.net.web.http.api.ApiVersion; -import io.cryostat.net.web.http.generic.TimeoutHandler; import io.cryostat.recordings.RecordingNotFoundException; import com.nimbusds.jwt.JWT; @@ -123,7 +121,7 @@ public void handleWithValidJwt(RoutingContext ctx, JWT jwt) throws Exception { .end( reportService .get(getConnectionDescriptorFromJwt(ctx, jwt), recordingName) - .get(TimeoutHandler.TIMEOUT_MS, TimeUnit.MILLISECONDS)); + .get()); } catch (CompletionException | ExecutionException ee) { Exception rootCause = (Exception) ExceptionUtils.getRootCause(ee);