reduce execution timeout

This commit is contained in:
alexlamsl 2017-04-03 02:03:53 +08:00
parent dfa8ec2fa4
commit 0fb82322d8

View File

@ -29,7 +29,7 @@ exports.run_code = function(code) {
}));
}
}
}, { timeout: 30000 });
}, { timeout: 5000 });
return stdout;
} catch (ex) {
return ex;