lua: increase subprocess stdout limit to 64MB

This commit is contained in:
Ricardo Constantino 2017-05-04 17:09:38 +01:00
parent 95d5fe1626
commit 2eab0c779a
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531
1 changed files with 1 additions and 1 deletions

View File

@ -1154,7 +1154,7 @@ static int script_subprocess(lua_State *L)
lua_pop(L, 1); // -
lua_getfield(L, 1, "max_size"); // m
int64_t max_size = lua_isnil(L, -1) ? 16 * 1024 * 1024 : lua_tointeger(L, -1);
int64_t max_size = lua_isnil(L, -1) ? 64 * 1024 * 1024 : lua_tointeger(L, -1);
struct subprocess_cb_ctx cb_ctx = {
.log = ctx->log,