Skip to content

Commit

Permalink
since we run on ubuntu, try to be fair
Browse files Browse the repository at this point in the history
  • Loading branch information
niphlod committed Jun 3, 2024
1 parent 7dcf7dd commit 923e1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/templates/to_md.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Set-DbadocsOSearch -OutputFolder $OutputFolder -ContentFolder $ContentFolder

#create all pages
try {
$maxConcurrentJobs = (Get-CimInstance -ClassName Win32_Processor -Property NumberOfCores | Measure-Object -Property 'NumberOfCores' -Sum).Sum
[int]$maxConcurrentJobs = [Environment]::ProcessorCount
} catch {
$maxConcurrentJobs = 4
}
Expand Down

0 comments on commit 923e1db

Please sign in to comment.