Skip to content

Commit

Permalink
Bump hardcoded max rollover time, allow overriding default
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlb committed Feb 8, 2024
1 parent f58714f commit 0361803
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class RecoveryChunkManager<T> extends ChunkManagerBase<T> {
private static final Logger LOG = LoggerFactory.getLogger(RecoveryChunkManager.class);
// This field controls the maximum amount of time we wait for a rollover to complete.
private static final int MAX_ROLLOVER_MINUTES = 20;
private static final int MAX_ROLLOVER_MINUTES = Integer.parseInt(System.getProperty("kalDb.recovery.maxRolloverMins", "90"));

private final ChunkFactory<T> recoveryChunkFactory;
private final ChunkRolloverFactory chunkRolloverFactory;
Expand Down

0 comments on commit 0361803

Please sign in to comment.