Skip to content
6 changes: 3 additions & 3 deletions config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"versions": {
"authentication": {
"prerelease": "",
"version": "2.35.1"
"version": "2.36.0"
},
"beta": {
"prerelease": "",
"version": "2.35.1"
"version": "2.36.0"
},
"v1.0": {
"prerelease": "",
"version": "2.35.1"
"version": "2.36.0"
}
}
}

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion tools/GenerateModules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ $AutoRestTempFolder | ForEach-Object {
}

$Stopwatch = [system.diagnostics.stopwatch]::StartNew()
$Throttle = 2 # Reduced from 4 to prevent file locking issues in parallel module generation
$CpuCount = (Get-CimInstance Win32_Processor | Measure-Object -Property NumberOfLogicalProcessors -Sum).Sum
$Throttle = [int][math]::Max(1, [math]::Min(4, $CpuCount / 2)) # Use half the CPU count but max 4, min 1
$Results = $ModuleToGenerate | ForEach-Object -Parallel {
$Module = $_
Write-Host -ForegroundColor Green "-------------'Generating $Module'-------------"
Expand Down
Loading