summary refs log tree commit diff
path: root/synapse/replication/slave/storage/devices.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-09-04 19:32:35 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-09-04 19:32:35 -0400
commita22d58c96c714e5f97b3e68f3ec7f2aeee854a81 (patch)
tree97fdf219de3ed852dfe3e35aebe98a4f1122a9ba /synapse/replication/slave/storage/devices.py
parentMerge branch 'develop' into cross-signing_keys (diff)
downloadsynapse-a22d58c96c714e5f97b3e68f3ec7f2aeee854a81.tar.xz
add user signature stream change cache to slaved device store
Diffstat (limited to 'synapse/replication/slave/storage/devices.py')
-rw-r--r--synapse/replication/slave/storage/devices.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/devices.py b/synapse/replication/slave/storage/devices.py
index d9300fce33..f045e1b937 100644
--- a/synapse/replication/slave/storage/devices.py
+++ b/synapse/replication/slave/storage/devices.py
@@ -33,6 +33,9 @@ class SlavedDeviceStore(EndToEndKeyWorkerStore, DeviceWorkerStore, BaseSlavedSto
         self._device_list_stream_cache = StreamChangeCache(
             "DeviceListStreamChangeCache", device_list_max
         )
+        self._user_signature_stream_cache = StreamChangeCache(
+            "UserSignatureStreamChangeCache", device_list_max
+        )
         self._device_list_federation_stream_cache = StreamChangeCache(
             "DeviceListFederationStreamChangeCache", device_list_max
         )