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

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Velten committed Sep 13, 2022
1 parent dad5f54 commit d08c351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/module_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ async def invalidate_cache(
self, cached_func: CachedFunction, keys: Tuple[Any, ...]
) -> None:
"""Invalidate a cache entry of a cached function across workers. The cached function
needs to be registered first with `register_cached_function` for this to work.
needs to be registered on all workers first with `register_cached_function`.
Args:
cached_function: The cached function that needs an invalidation
Expand Down

0 comments on commit d08c351

Please sign in to comment.