Commit d6ff8d25 authored by Christian Theune's avatar Christian Theune

Put snooze() back because timing issues on my machine actually showed that the

two calls where actually necessary to guaranteed get an unused revid between
two used ones.
parent 5d83256f
...@@ -49,6 +49,8 @@ class RevisionStorage: ...@@ -49,6 +49,8 @@ class RevisionStorage:
# guarantees that the next timestamp will be at least one # guarantees that the next timestamp will be at least one
# larger (and probably much more than that) than the previous # larger (and probably much more than that) than the previous
# one. # one.
snooze()
snooze()
revid = self._dostore(oid, revid, data=MinPO(i)) revid = self._dostore(oid, revid, data=MinPO(i))
revs.append(self._storage.load(oid, "")) revs.append(self._storage.load(oid, ""))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment