From 25fed0ad96b75171fb191e5a74bf4715d26305e6 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sat, 17 Apr 2021 10:02:38 +0200 Subject: [PATCH] reduce memory usage --- .../org/lucares/pdb/plot/api/ParallelRequestsAggregate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/ParallelRequestsAggregate.java b/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/ParallelRequestsAggregate.java index a33b592..71497ce 100644 --- a/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/ParallelRequestsAggregate.java +++ b/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/ParallelRequestsAggregate.java @@ -51,7 +51,7 @@ public class ParallelRequestsAggregate extends AggregateHandler { @Override public CustomAggregator createCustomAggregator(final Path tmpDir, final PlotSettings plotSettings, final long fromEpochMilli, final long toEpochMilli) { - if ((toEpochMilli - fromEpochMilli) <= TimeUnit.HOURS.toMillis(50)) { + if ((toEpochMilli - fromEpochMilli) <= TimeUnit.HOURS.toMillis(24)) { return new ParallelRequestsAggregator(tmpDir, fromEpochMilli, toEpochMilli); } else { return null;