Skip to content

Commit

Permalink
Add missing comment text
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenbaarda committed Feb 21, 2024
1 parent 04f3ce7 commit 28d8604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/search/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def get_results(self) -> ResultSet:
# Cache file is not present or not readable. This may happen when
# results are fetched but searching has not yet started, or if
# the cache file was deleted. Go on and return an empty set -
#
# this is not problematic because an inconsistency between model
# and cache will be detected by the code that performs the search.
results = ''
self.last_accessed = timezone.now()
# This method may be called from multiple processes while the query is still
Expand Down

0 comments on commit 28d8604

Please sign in to comment.