mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
npm update
This commit is contained in:
parent
353c472984
commit
e9f5eba8c1
5 changed files with 651 additions and 6266 deletions
|
@ -28,7 +28,7 @@ import { Result, Edits } from './actions'
|
|||
import type { Question, QuestionDb, QuestionData } from '../types/basicTypes'
|
||||
import type { WorkerResult } from './classes'
|
||||
|
||||
const threadCount = process.env.NS_THREAD_COUNT || os.cpus().length
|
||||
const threadCount = +process.env.NS_THREAD_COUNT || os.cpus().length
|
||||
|
||||
interface WorkerObj {
|
||||
worker: Worker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue