1.11.13 #35

Merged
defnotken merged 3 commits from 1.11.13 into 1.12.0 2025-09-30 14:46:40 +00:00
Showing only changes of commit fe898cdc2b - Show all commits

View File

@@ -189,7 +189,14 @@ public sealed class FileCacheManager : IHostedService
Parallel.ForEach(allEntities, entity =>
{
cacheDict[entity.PrefixedFilePath] = entity;
if (entity != null && entity.PrefixedFilePath != null)
{
cacheDict[entity.PrefixedFilePath] = entity;
}
else
{
_logger.LogWarning("Null FileCacheEntity or PrefixedFilePath encountered in cache population: {entity}", entity);
}
});
var cleanedPaths = new ConcurrentDictionary<string, string>(StringComparer.OrdinalIgnoreCase);