Fix perRequestLimit
This commit is contained in:
parent
008b39abf4
commit
9d335b7fb1
|
@ -16,6 +16,7 @@ export function init() {
|
||||||
vm = new IsolatedVM({
|
vm = new IsolatedVM({
|
||||||
memoryLimit: env.JS_RUNNER_MEMORY_LIMIT,
|
memoryLimit: env.JS_RUNNER_MEMORY_LIMIT,
|
||||||
timeout: env.JS_PER_EXECUTION_TIME_LIMIT_MS,
|
timeout: env.JS_PER_EXECUTION_TIME_LIMIT_MS,
|
||||||
|
perRequestLimit: env.JS_PER_REQUEST_TIME_LIMIT_MS,
|
||||||
}).withHelpers()
|
}).withHelpers()
|
||||||
|
|
||||||
bbCtx.vm = vm
|
bbCtx.vm = vm
|
||||||
|
|
Loading…
Reference in New Issue