diff --git a/index.js b/index.js index d265bff..1213286 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ io.on('connection', (socket) => { socket.on('runCode', async (transactionId, code) => { try { - const output = await context.eval(code, { timeout: 3000 }) + const output = await context.eval(code, { timeout: 1000 }) socket.emit('codeOutput', transactionId, false, util.inspect(output, { stylize })) } catch (e) {