Reduce recursion limit (#1581)

This commit is contained in:
Hood Chatham 2021-05-06 08:40:41 -04:00 committed by GitHub
parent 8d7659b1e1
commit 1bc5acd11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ globalThis.loadPyodide = async function (config = {}) {
recurse();
} catch (err) {}
let recursionLimit = depth / 50;
let recursionLimit = depth / 60;
if (recursionLimit > 1000) {
recursionLimit = 1000;
}