Skip to content
Snippets Groups Projects
Commit 0ade2712 authored by Erik Johnston's avatar Erik Johnston
Browse files

Typo

parent 50f96f25
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ class StreamIdGenerator(object): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment