From 7e40d1af59b42887c37ae76e1dd2b3a5dcb2834b Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 21 Jul 2022 13:18:07 -0500 Subject: [PATCH] Lod Thread and cpu core count --- build-lists.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-lists.js b/build-lists.js index 5d06ca8..b542315 100644 --- a/build-lists.js +++ b/build-lists.js @@ -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