summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/16241.misc1
-rw-r--r--synapse/replication/http/devices.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/16241.misc b/changelog.d/16241.misc
new file mode 100644
index 0000000000..0fc5f34c5c
--- /dev/null
+++ b/changelog.d/16241.misc
@@ -0,0 +1 @@
+Cache device resync requests over replication.
diff --git a/synapse/replication/http/devices.py b/synapse/replication/http/devices.py
index 73f3de3642..209833d287 100644
--- a/synapse/replication/http/devices.py
+++ b/synapse/replication/http/devices.py
@@ -62,7 +62,7 @@ class ReplicationMultiUserDevicesResyncRestServlet(ReplicationEndpoint):
 
     NAME = "multi_user_device_resync"
     PATH_ARGS = ()
-    CACHE = False
+    CACHE = True
 
     def __init__(self, hs: "HomeServer"):
         super().__init__(hs)