mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Remove unused param from get_max_token
This commit is contained in:
parent
b8cdec92c7
commit
42109a62a4
6 changed files with 11 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue