summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-15 11:25:48 +0100
committerErik Johnston <erik@matrix.org>2016-08-15 11:25:48 +0100
commit784a2d4f2c3c90804bf81d85bf23a671d204dc94 (patch)
tree7491f15b37e474e4cee51a7ba12a9ff745397ecb /synapse/app/synchrotron.py
parentUse cached version of get_aliases_for_room (diff)
downloadsynapse-784a2d4f2c3c90804bf81d85bf23a671d204dc94.tar.xz
Remove broken cache stuff
Diffstat (limited to '')
-rw-r--r--synapse/app/synchrotron.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 207a75d89e..e3173533e2 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -75,11 +75,6 @@ class SynchrotronSlavedStore(
     BaseSlavedStore,
     ClientIpStore,  # After BaseSlavedStore because the constructor is different
 ):
-    # XXX: This is a bit broken because we don't persist forgotten rooms
-    # in a way that they can be streamed. This means that we don't have a
-    # way to invalidate the forgotten rooms cache correctly.
-    # For now we expire the cache every 10 minutes.
-    BROKEN_CACHE_EXPIRY_MS = 60 * 60 * 1000
     who_forgot_in_room = (
         RoomMemberStore.__dict__["who_forgot_in_room"]
     )