mirror of
https://github.com/FalloutCollaborationProject/FCP-Mod-Updater.git
synced 2026-07-27 17:04:05 -07:00
Increase Parallelism from 6 to 12 for mod discovery
This commit is contained in:
@@ -34,7 +34,7 @@ public class ModDiscoveryService : IModDiscoveryService
|
||||
var mods = new ConcurrentBag<InstalledMod>();
|
||||
|
||||
await Parallel.ForEachAsync(directories,
|
||||
new ParallelOptions { MaxDegreeOfParallelism = 6, CancellationToken = ct },
|
||||
new ParallelOptions { MaxDegreeOfParallelism = 12, CancellationToken = ct },
|
||||
async (dir, token) =>
|
||||
{
|
||||
var folderName = Path.GetFileName(dir);
|
||||
|
||||
Reference in New Issue
Block a user