Skip to content

Commit 1dec7bf

Browse files
committed
The extra stack frame makes stacks longer now
This makes the escaping loop longer.
1 parent 2146791 commit 1dec7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/babel/transform-prevent-infinite-loops.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// This should be reasonable for all loops in the source.
1414
// Note that if the numbers are too large, the tests will take too long to fail
1515
// for this to be useful (each individual test case might hit an infinite loop).
16-
const MAX_SOURCE_ITERATIONS = 5000;
16+
const MAX_SOURCE_ITERATIONS = 6000;
1717
// Code in tests themselves is permitted to run longer.
1818
// For example, in the fuzz tester.
1919
const MAX_TEST_ITERATIONS = 5000;

0 commit comments

Comments
 (0)