mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +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
|
|
@ -259,7 +259,7 @@ public partial class FileDownloadManager : DisposableMediatorSubscriberBase
|
|||
{
|
||||
Logger.LogError("Hash mismatch after extracting, got {hash}, expected {expectedHash}, deleting file", entry?.Hash, file.Hash);
|
||||
File.Delete(filePath);
|
||||
_fileDbManager.RemoveHash(entry);
|
||||
_fileDbManager.RemoveHashedFile(entry);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue