From 790c29e976c560bd34c667e43498c9e249061422 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 26 Aug 2023 13:35:05 +0700 Subject: [PATCH] change to 500 --- index.js | 3 --- vm.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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,