use DateTimeRange.max() instead of arbitrary relative range

This commit is contained in:
2019-04-20 20:36:26 +02:00
parent d82b33c60e
commit dfe9579726
2 changed files with 2 additions and 4 deletions

View File

@@ -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;