mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-23 09:08:39 +02:00
feat(import): try to be more aggressive on cache invalidation
This commit is contained in:
@@ -542,6 +542,4 @@ class ImportService:
|
||||
|
||||
self.import_run.finished_at = timezone.now()
|
||||
self.import_run.save(update_fields=["finished_at"])
|
||||
|
||||
if self.import_run.successful_rows >= 1:
|
||||
cachalot.api.invalidate()
|
||||
cachalot.api.invalidate()
|
||||
|
||||
Reference in New Issue
Block a user