mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
MISC: Revert default HGW threads from 1 to number of script threads (#978)
This commit is contained in:
parent
473217ef31
commit
a6436ca4b3
@ -296,7 +296,7 @@ export function makeRuntimeErrorMsg(ctx: NetscriptContext, msg: string, type = "
|
|||||||
|
|
||||||
function validateHGWOptions(ctx: NetscriptContext, opts: unknown): CompleteHGWOptions {
|
function validateHGWOptions(ctx: NetscriptContext, opts: unknown): CompleteHGWOptions {
|
||||||
const result: CompleteHGWOptions = {
|
const result: CompleteHGWOptions = {
|
||||||
threads: 1 as PositiveInteger,
|
threads: ctx.workerScript.scriptRef.threads,
|
||||||
stock: false,
|
stock: false,
|
||||||
additionalMsec: 0,
|
additionalMsec: 0,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user