diff --git a/index.js b/index.js index c7bdf14..9ca5869 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,4 @@ -const { VM } = require('vm2') const { Server } = require('socket.io') -const util = require('util') -const { stylize } = require('./colors') const { Worker } = require('worker_threads') const path = require('path') diff --git a/vm.js b/vm.js index 451c64f..26e8083 100644 --- a/vm.js +++ b/vm.js @@ -49,7 +49,7 @@ parentPort.on('message', (msg) => { proxy = new Proxy(functions, handler) vm = new VM({ - timeout: 100, + timeout: 500, sandbox: { get bridge () { return proxy }, randomstring,