use DateTimeRange.max() instead of arbitrary relative range
This commit is contained in:
@@ -77,8 +77,7 @@ public class PdbExport {
|
||||
try (final PerformanceDb db = new PerformanceDb(dataDirectory);) {
|
||||
|
||||
LOGGER.info("Searching for all files. This may take a while ...");
|
||||
// TODO time range should not be static, but include everything
|
||||
final List<PdbFile> pdbFiles = db.getFilesForQuery(new Query("", DateTimeRange.relativeYears(5)));
|
||||
final List<PdbFile> pdbFiles = db.getFilesForQuery(new Query("", DateTimeRange.max()));
|
||||
|
||||
long count = 0;
|
||||
long lastEpochMilli = 0;
|
||||
|
||||
Reference in New Issue
Block a user