npm update

This commit is contained in:
mrfry 2023-04-02 09:12:25 +02:00
parent 353c472984
commit e9f5eba8c1
5 changed files with 651 additions and 6266 deletions

View file

@ -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