Skip to content

Commit 559ab6e

Browse files
author
Dmytro Ukhlov
committed
Set default RunListProgressiveRendering limit to 1000 records
1 parent 9037052 commit 559ab6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/jenkins/widgets/RunListProgressiveRendering.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public abstract class RunListProgressiveRendering extends ProgressiveRendering {
4949
* but then like Zeno’s paradox we will never seem to finish until we actually do.
5050
*/
5151
private static final double MAX_LIKELY_RUNS = 20;
52-
private static final int LIMIT = SystemProperties.getInteger(RunListProgressiveRendering.class.getName() + ".limit", Integer.MAX_VALUE);
52+
private static final int LIMIT = SystemProperties.getInteger(RunListProgressiveRendering.class.getName() + ".limit", 1000);
5353
private final List<JSONObject> results = new ArrayList<>();
5454
private Iterable<? extends Run<?, ?>> builds;
5555

0 commit comments

Comments
 (0)