Limit library scan workers to four concurrent processes

* Formatting fixes

* Library scans are now limited to 4 worker processes
This commit is contained in:
Michael Green
2024-01-04 16:01:33 +11:00
committed by GitHub
parent eac35ee8a3
commit ce9ab91e5b
7 changed files with 73 additions and 11 deletions

View File

@@ -132,7 +132,14 @@ namespace gaseous_server.Classes.Metadata
if (platform.PlatformLogo != null)
{
PlatformLogo platformLogo = PlatformLogos.GetPlatformLogo(platform.PlatformLogo.Id, Config.LibraryConfiguration.LibraryMetadataDirectory_Platform(platform));
try
{
PlatformLogo platformLogo = PlatformLogos.GetPlatformLogo(platform.PlatformLogo.Id, Config.LibraryConfiguration.LibraryMetadataDirectory_Platform(platform));
}
catch (Exception ex)
{
Logging.Log(Logging.LogType.Warning, "Platform Update", "Unable to fetch platform logo", ex);
}
}
}