mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 15:30:21 +00:00
Typo
This commit is contained in:
parent
50f96f256f
commit
0ade2712d1
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class StreamIdGenerator(object):
|
||||||
# ... persist event ...
|
# ... persist event ...
|
||||||
"""
|
"""
|
||||||
if not self._current_max:
|
if not self._current_max:
|
||||||
self._compute_current_max(txn)
|
self._get_or_compute_current_max(txn)
|
||||||
|
|
||||||
with self._lock:
|
with self._lock:
|
||||||
self._current_max += 1
|
self._current_max += 1
|
||||||
|
|
Loading…
Reference in a new issue