summary refs log tree commit diff
path: root/synapse/storage/databases/main/devices.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-03-26 11:49:43 +0000
committerErik Johnston <erik@matrix.org>2024-03-26 11:49:43 +0000
commit00bc269a8a9630149a540ee19b395ab5b295c794 (patch)
tree5287a73eb7720359c4d6c4df64eb8ed9b07d7bcc /synapse/storage/databases/main/devices.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentEnsure that pending to-device events are sent over federation at startup (#16... (diff)
downloadsynapse-00bc269a8a9630149a540ee19b395ab5b295c794.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/databases/main/devices.py')
-rw-r--r--synapse/storage/databases/main/devices.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py

index 881714d4fa..0330b8a0f5 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py
@@ -1703,9 +1703,9 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore): # Map of (user_id, device_id) -> bool. If there is an entry that implies # the device exists. - self.device_id_exists_cache: LruCache[ - Tuple[str, str], Literal[True] - ] = LruCache(cache_name="device_id_exists", max_size=10000) + self.device_id_exists_cache: LruCache[Tuple[str, str], Literal[True]] = ( + LruCache(cache_name="device_id_exists", max_size=10000) + ) async def store_device( self,