aboutsummaryrefslogtreecommitdiff
path: root/src/luaconf.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaconf.js')
-rw-r--r--src/luaconf.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luaconf.js b/src/luaconf.js
index 424d4ea..3ca3a24 100644
--- a/src/luaconf.js
+++ b/src/luaconf.js
@@ -19,8 +19,7 @@ const LUA_MININTEGER = -2147483648;
** its only purpose is to stop Lua from consuming unlimited stack
** space (and to reserve some numbers for pseudo-indices).
*/
-/* TODO: put back to 1000000. Node would go out of memory in some cases (e.g. travis) */
-const LUAI_MAXSTACK = conf.LUAI_MAXSTACK || 100000;
+const LUAI_MAXSTACK = conf.LUAI_MAXSTACK || 1000000;
/*
@@ LUA_IDSIZE gives the maximum size for the description of the source