Increase default timeout

This commit is contained in:
Andrea Cavalli 2021-12-20 16:38:58 +01:00
parent eaef75a304
commit a5666dd5b4

View File

@ -30,8 +30,8 @@ public final record ClientQueryParams(@Nullable CompositeSnapshot snapshot,
.limit(Long.MAX_VALUE)
.minCompetitiveScore(null)
.sort(null)
// Default timeout: 2 minutes
.timeout(Duration.ofMinutes(2))
// Default timeout: 4 minutes
.timeout(Duration.ofMinutes(4))
.computePreciseHitsCount(true);
}