mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Lod Thread and cpu core count
This commit is contained in:
parent
c45715630a
commit
e59904fb22
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue