fixes + throwparty and buytea and rundist
This commit is contained in:
@@ -34,11 +34,13 @@ export async function main(ns) {
|
||||
let nMaxThreads = 0;
|
||||
sortedList.forEach((entry) => {
|
||||
if (entry.rootAccess && entry.maxRam >= 1) {
|
||||
ns.scp(aFiles, "home", entry.serverName);
|
||||
if (entry.serverName !== "home") {
|
||||
ns.scp(aFiles, entry.serverName, "home");
|
||||
}
|
||||
nMaxThreads += entry.maxRam / 1.75;
|
||||
}
|
||||
})
|
||||
let nMaxThreadsINT = Math.floor(nMaxThreads-32);
|
||||
let nMaxThreadsINT = Math.floor(nMaxThreads - 64);
|
||||
ns.print("nMaxThreadsINT = " + nMaxThreadsINT);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user