MISC: Revert default HGW threads from 1 to number of script threads (#978)

This commit is contained in:
DJMatch3000 2023-12-16 04:38:39 -05:00 committed by GitHub
parent 473217ef31
commit a6436ca4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -296,7 +296,7 @@ export function makeRuntimeErrorMsg(ctx: NetscriptContext, msg: string, type = "
function validateHGWOptions(ctx: NetscriptContext, opts: unknown): CompleteHGWOptions {
const result: CompleteHGWOptions = {
threads: 1 as PositiveInteger,
threads: ctx.workerScript.scriptRef.threads,
stock: false,
additionalMsec: 0,
};