diff options
author | David Robertson <davidr@element.io> | 2023-09-04 11:57:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 11:57:59 +0100 |
commit | e9eb26e3aff63545c77980f0f7a0c04bcbccbda0 (patch) | |
tree | fb8aecb50818744261f775fd0539a6aac213fec2 | |
parent | Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220) (diff) | |
download | synapse-e9eb26e3aff63545c77980f0f7a0c04bcbccbda0.tar.xz |
Cache device resync requests over replication (#16241)
-rw-r--r-- | changelog.d/16241.misc | 1 | ||||
-rw-r--r-- | synapse/replication/http/devices.py | 2 |
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) |