Reserving specified workers is now possible

This commit is contained in:
mrfry 2021-04-16 14:13:39 +02:00
parent 999b11c3ec
commit 8ba1b01d33
5 changed files with 345 additions and 83 deletions

View file

@ -739,6 +739,9 @@ if (!isMainThread) {
} else if (msg.type === 'newdb') {
qdbs.push(msg.newdb)
// console.log(`[THREAD #${workerIndex}]: newdb`)
} else {
logger.Log(`Invalid msg type!`, logger.GetColor('redbg'))
console.error(msg)
}
})
} else {