Skip to content

Commit

Permalink
The extra stack frame makes stacks longer now
Browse files Browse the repository at this point in the history
This makes the escaping loop longer.
  • Loading branch information
sebmarkbage committed Jul 9, 2024
1 parent 296263e commit f0a72be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/babel/transform-prevent-infinite-loops.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// This should be reasonable for all loops in the source.
// Note that if the numbers are too large, the tests will take too long to fail
// for this to be useful (each individual test case might hit an infinite loop).
const MAX_SOURCE_ITERATIONS = 5000;
const MAX_SOURCE_ITERATIONS = 6000;
// Code in tests themselves is permitted to run longer.
// For example, in the fuzz tester.
const MAX_TEST_ITERATIONS = 5000;
Expand Down

0 comments on commit f0a72be

Please sign in to comment.