make future timeout higher than built-in driver timeout

This commit is contained in:
Jonathan Shook 2023-08-30 13:20:06 -05:00
parent 6bfd9e3171
commit 741a034c98

View File

@ -120,7 +120,7 @@ public abstract class Cqld4CqlOp implements CycleOp<List<Row>>, VariableCapture,
});
try {
return rowsStage.toCompletableFuture().get(3, TimeUnit.SECONDS);
return rowsStage.toCompletableFuture().get(300, TimeUnit.SECONDS);
} catch (Exception e) {
if (e instanceof RuntimeException re) throw re;
throw new RuntimeException(e);