mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: clear local file cache before upload (#20448)
* clear local file cache before upload * clear cache during hashing * fix test * add button to clear cache manually * add button to clear cache manually --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
d73335ecbc
commit
f416342eff
6 changed files with 30 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ class HashService {
|
|||
DLog.log("Hashed ${hashed.length}/${toHash.length} assets");
|
||||
|
||||
await _localAssetRepository.updateHashes(hashed);
|
||||
await _storageRepository.clearCache();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue