diff options
author | David Robertson <davidr@element.io> | 2021-11-18 18:42:36 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2021-11-18 18:42:56 +0000 |
commit | e5d15cc67776c8dd15cd30302b79297f5582457a (patch) | |
tree | 991bb472bec6abb7c5ea6b06852cecdb91d77e11 | |
parent | Use _clock; weaken StatsStore to StateDeltasStore (diff) | |
download | synapse-e5d15cc67776c8dd15cd30302b79297f5582457a.tar.xz |
Fix typo
-rw-r--r-- | synapse/storage/databases/main/cache.py | 2 |
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] |