Skip to content

Commit b0a4ac7

Browse files
Enable parallel query for custom sources
1 parent 36f67b8 commit b0a4ac7

File tree

1 file changed

+1
-0
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-0
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ private static string Extension(string path)
381381
private static IEnumerable<Win32> UnregisteredPrograms(List<ProgramSource> sources, string[] suffixes, string[] protocols)
382382
{
383383
var paths = ExceptDisabledSource(sources.Where(s => Directory.Exists(s.Location) && s.Enabled)
384+
.AsParallel()
384385
.SelectMany(s => ProgramPaths(s.Location, suffixes)))
385386
.Distinct();
386387

0 commit comments

Comments
 (0)