change to 500

This commit is contained in:
Chayapak 2023-08-26 13:35:05 +07:00
parent 3d34ad6fea
commit 790c29e976
2 changed files with 1 additions and 4 deletions

View file

@ -1,7 +1,4 @@
const { VM } = require('vm2')
const { Server } = require('socket.io') const { Server } = require('socket.io')
const util = require('util')
const { stylize } = require('./colors')
const { Worker } = require('worker_threads') const { Worker } = require('worker_threads')
const path = require('path') const path = require('path')

2
vm.js
View file

@ -49,7 +49,7 @@ parentPort.on('message', (msg) => {
proxy = new Proxy(functions, handler) proxy = new Proxy(functions, handler)
vm = new VM({ vm = new VM({
timeout: 100, timeout: 500,
sandbox: { sandbox: {
get bridge () { return proxy }, get bridge () { return proxy },
randomstring, randomstring,