summary refs log tree commit diff
path: root/synapse/storage/util/sequence.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2023-03-02 18:27:00 +0000
committerGitHub <noreply@github.com>2023-03-02 18:27:00 +0000
commit1eea662780a6325af0a61ceb447b4c91a2d3ac98 (patch)
tree368aa5bc8af7bb2d2d553e08afd552180f1088fb /synapse/storage/util/sequence.py
parentAdd support for knocking to workers. (#15133) (diff)
downloadsynapse-1eea662780a6325af0a61ceb447b4c91a2d3ac98.tar.xz
Add a `get_next_txn` method to `StreamIdGenerator` to match `MultiWriterIdGenerator` (#15191
Diffstat (limited to 'synapse/storage/util/sequence.py')
-rw-r--r--synapse/storage/util/sequence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/util/sequence.py b/synapse/storage/util/sequence.py
index 75268cbe15..80915216de 100644
--- a/synapse/storage/util/sequence.py
+++ b/synapse/storage/util/sequence.py
@@ -205,7 +205,7 @@ class LocalSequenceGenerator(SequenceGenerator):
         """
         Args:
             get_first_callback: a callback which is called on the first call to
-                 get_next_id_txn; should return the curreent maximum id
+                 get_next_id_txn; should return the current maximum id
         """
         # the callback. this is cleared after it is called, so that it can be GCed.
         self._callback: Optional[GetFirstCallbackType] = get_first_callback