Skip to content

Commit 8c95735

Browse files
committed
Limit MAX_RESULT_WINDOW
1 parent 2a763f8 commit 8c95735

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/MetaCPAN/Util.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ use Sub::Exporter -setup => {
4141
) ]
4242
};
4343

44-
use constant MAX_RESULT_WINDOW => 10000;
44+
# Limit the maximum result window to 1000, really should be enough!
45+
use constant MAX_RESULT_WINDOW => 1000;
4546

4647
*true = \&Cpanel::JSON::XS::true;
4748
*false = \&Cpanel::JSON::XS::false;

0 commit comments

Comments
 (0)