Commit f886a019 authored by Tres Seaver's avatar Tres Seaver

Sleep two milliseconds FBO winbot.

See #60, #65.
parent 82daec9f
......@@ -34,7 +34,7 @@ class HistoryStorage:
for data in data:
if sys.platform == 'win32':
# time.time() has a precision of 1ms on Windows.
sleep(0.001)
sleep(0.002)
revids.append(self._dostore(oid, revids[-1], MinPO(data)))
revids.reverse()
del revids[-1]
......@@ -46,7 +46,7 @@ class HistoryStorage:
if sys.platform == 'win32':
# Same as above. This is also required in case this method is
# called several times for the same storage.
sleep(0.001)
sleep(0.002)
a = time()
for d in h:
b = a
......
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