Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fixup! Add a cache invalidation clean-up task
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Jul 3, 2023
1 parent 3ca3d1e commit fe7c6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def get_cache_stream_token_for_writer(self, instance_name: str) -> int:
return 0

def _clean_up_cache_invalidation_wrapper(self) -> None:
async def _clean_up_cache_invalidation_background():
async def _clean_up_cache_invalidation_background() -> None:
"""
Clean up cache invalidation stream table entries occasionally.
If we are behind (i.e. there are entries old enough to
Expand Down

0 comments on commit fe7c6a9

Please sign in to comment.