Lod Thread and cpu core count

This commit is contained in:
Sam Carlton 2022-07-21 13:18:07 -05:00
parent b6b4967208
commit 7e40d1af59

View file

@ -1,5 +1,6 @@
import { dirname, basename } from 'path'
import os from 'os'
import fs from 'fs-extra'
import dotenv from 'dotenv'
import semver from 'semver'
@ -596,6 +597,9 @@ class BuildLists {
async build () {
console.log( 'Thread Pool Size', process.env.UV_THREADPOOL_SIZE )
console.log( 'CPU Count', os.cpus().length )
await saveYouTubeVideos()
// Pull in and layer data from all sources