mirror of
https://github.com/krateng/maloja.git
synced 2025-04-22 19:40:28 +03:00
Fixed cache invalidation after merging
This commit is contained in:
parent
9c656ee90b
commit
2c31df3c58
@ -189,6 +189,7 @@ def merge_artists(target_id,source_ids):
|
||||
log(f"Merging {sources} into {target}")
|
||||
result = sqldb.merge_artists(target_id,source_ids)
|
||||
dbcache.invalidate_entity_cache()
|
||||
dbcache.invalidate_caches()
|
||||
|
||||
return result
|
||||
|
||||
@ -199,6 +200,7 @@ def merge_tracks(target_id,source_ids):
|
||||
log(f"Merging {sources} into {target}")
|
||||
result = sqldb.merge_tracks(target_id,source_ids)
|
||||
dbcache.invalidate_entity_cache()
|
||||
dbcache.invalidate_caches()
|
||||
|
||||
return result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user