diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-04 19:32:35 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-04 19:32:35 -0400 |
commit | a22d58c96c714e5f97b3e68f3ec7f2aeee854a81 (patch) | |
tree | 97fdf219de3ed852dfe3e35aebe98a4f1122a9ba /synapse | |
parent | Merge branch 'develop' into cross-signing_keys (diff) | |
download | synapse-a22d58c96c714e5f97b3e68f3ec7f2aeee854a81.tar.xz |
add user signature stream change cache to slaved device store
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/replication/slave/storage/devices.py | 3 |
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 ) |