Lod Thread and cpu core count

This commit is contained in:
Sam Carlton 2022-07-21 13:18:07 -05:00
parent c45715630a
commit e59904fb22

View file

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