mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 15:54:14 +01:00
improve file cache manager performance
This commit is contained in:
parent
a1d5f18215
commit
4b278bd456
5 changed files with 64 additions and 30 deletions
|
|
@ -258,12 +258,12 @@ public sealed class PeriodicFileScanner : DisposableMediatorSubscriberBase
|
|||
{
|
||||
foreach (var entity in entitiesToUpdate)
|
||||
{
|
||||
_fileDbManager.UpdateHash(entity);
|
||||
_fileDbManager.UpdateHashedFile(entity);
|
||||
}
|
||||
|
||||
foreach (var entity in entitiesToRemove)
|
||||
{
|
||||
_fileDbManager.RemoveHash(entity);
|
||||
_fileDbManager.RemoveHashedFile(entity);
|
||||
}
|
||||
|
||||
_fileDbManager.WriteOutFullCsv();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue