summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/databases/main/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/cache.py b/synapse/storage/databases/main/cache.py
index 7189d945c3..066365a8b5 100644
--- a/synapse/storage/databases/main/cache.py
+++ b/synapse/storage/databases/main/cache.py
@@ -121,7 +121,7 @@ class CacheInvalidationWorkerStore(
             txn.execute(sql, (last_id, instance_name, limit))
             updates: List[Tuple[int, _CacheData]] = []
             row: Tuple[int, str, Optional[List[str]], Optional[int]]
-            # Type saftey: iterating over `txn` yields `Tuple`, i.e.
+            # Type safety: iterating over `txn` yields `Tuple`, i.e.
             # `Tuple[Any, ...]` of arbitrary length. Mypy detects assigning a
             # variadic tuple to a fixed length tuple and flags it up as an error.
             for row in txn:  # type: ignore[assignment]