summary refs log tree commit diff
path: root/synapse/storage/util
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 16:37:28 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 16:37:28 +0000
commit42109a62a43ca0b8c1e0d3f797bbc70e0018ca5c (patch)
tree776b7a6c61eb212b9dc6dec27d1420688c3930ba /synapse/storage/util
parentWheelTimer: Don't scan list, use index. (diff)
downloadsynapse-42109a62a43ca0b8c1e0d3f797bbc70e0018ca5c.tar.xz
Remove unused param from get_max_token
Diffstat (limited to 'synapse/storage/util')
-rw-r--r--synapse/storage/util/id_generators.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/util/id_generators.py b/synapse/storage/util/id_generators.py
index 5ce54f76de..ef5e4a4668 100644
--- a/synapse/storage/util/id_generators.py
+++ b/synapse/storage/util/id_generators.py
@@ -130,11 +130,9 @@ class StreamIdGenerator(object):
 
         return manager()
 
-    def get_max_token(self, *args):
+    def get_max_token(self):
         """Returns the maximum stream id such that all stream ids less than or
         equal to it have been successfully persisted.
-
-        Used to take a DataStore param, which is no longer needed.
         """
         with self._lock:
             if self._unfinished_ids: