mirror of https://github.com/pyodide/pyodide.git
Reduce recursion limit (#1581)
This commit is contained in:
parent
8d7659b1e1
commit
1bc5acd11c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue