change to 500
This commit is contained in:
parent
3d34ad6fea
commit
790c29e976
2 changed files with 1 additions and 4 deletions
3
index.js
3
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')
|
||||
|
||||
|
|
2
vm.js
2
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,
|
||||
|
|
Loading…
Reference in a new issue