Remove magic number
This commit is contained in:
parent
a9d016fd02
commit
d1e0b37dc2
|
@ -50,7 +50,8 @@ export class IsolatedVM implements VM {
|
||||||
[this.resultKey]: { [this.runResultKey]: "" },
|
[this.resultKey]: { [this.runResultKey]: "" },
|
||||||
})
|
})
|
||||||
|
|
||||||
this.invocationTimeout = invocationTimeout || 1000
|
this.invocationTimeout =
|
||||||
|
invocationTimeout || environment.JS_PER_INVOCATION_TIMEOUT_MS
|
||||||
this.isolateAccumulatedTimeout = isolateAccumulatedTimeout
|
this.isolateAccumulatedTimeout = isolateAccumulatedTimeout
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue