Skip to content

Commit

Permalink
decrease concurrency to CPULength - 1
Browse files Browse the repository at this point in the history
Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com>
Signed-off-by: Gürgün Dayıoğlu <hey@gurgun.day>
  • Loading branch information
gurgunday and climba03003 committed Feb 6, 2024
1 parent 435507d commit bdf9b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dirList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const os = require('node:os')
const path = require('node:path')
const fs = require('node:fs/promises')
const fastq = require('fastq')
const fastqConcurrency = os.cpus().length
const fastqConcurrency = Math.max(1, os.cpus().length - 1)

const dirList = {
_getExtendedInfo: async function (dir, info) {
Expand Down

0 comments on commit bdf9b9e

Please sign in to comment.