invalidate historydb after every api operation

This commit is contained in:
Faik Uygur
2009-05-23 14:23:13 +00:00
parent 1c260b4e9e
commit 6b04ab38f9
+2 -1
View File
@@ -12,7 +12,8 @@
def invalidate_caches():
# Invalidates pisi caches in use and forces to re-fill caches from disk when needed
for db in [packagedb.PackageDB(), sourcedb.SourceDB(), componentdb.ComponentDB(), installdb.InstallDB()]:
for db in [packagedb.PackageDB(), sourcedb.SourceDB(), componentdb.ComponentDB(),
installdb.InstallDB(), historydb.HistoryDB()]:
db.invalidate()
def flush_caches():