summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 14:19:38 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 14:19:38 +0100
commit491eaf0808fb4d3bb6d9b5f5f26c77e82e9333ec (patch)
treeb4cef7cd4fdf879d777e633927bfcc33d2d008eb
parentDon't include the room & user stats docs in this PR. (diff)
downloadsynapse-491eaf0808fb4d3bb6d9b5f5f26c77e82e9333ec.tar.xz
Remove obsolete `OldCollectionRequired` as old collection is obsolete.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 35fca1dc7b..824e57bad7 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -40,12 +40,6 @@ PER_SLICE_FIELDS = {"room": (), "user": ()}
 TYPE_TO_TABLE = {"room": ("room_stats", "room_id"), "user": ("user_stats", "user_id")}
 
 
-class OldCollectionRequired(Exception):
-    """ Signal that we need to collect old stats rows and retry. """
-
-    pass
-
-
 class StatsStore(StateDeltasStore):
     def __init__(self, db_conn, hs):
         super(StatsStore, self).__init__(db_conn, hs)