Start 1.11.13
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user