Skip to content

Commit

Permalink
refactor: memory backend clears its cache on save() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Apr 12, 2024
1 parent 6e26656 commit d9d5c85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions canaille/backends/memory/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def save(self):

self.index_delete()
self.index_save()
self._cache = {}

def delete(self):
self.index_delete()
Expand Down

0 comments on commit d9d5c85

Please sign in to comment.