diff --git a/src/dexorder/util/async_util.py b/src/dexorder/util/async_util.py index 3ec4824..f945d78 100644 --- a/src/dexorder/util/async_util.py +++ b/src/dexorder/util/async_util.py @@ -4,8 +4,8 @@ from typing import Union, Awaitable, TypeVar async def async_yield(): - # a value of exactly 0 doesn't seem to work as well, so we set 1 nanosecond - await asyncio.sleep(1e-9) + # a value of exactly 0 doesn't seem to work as well, so we use 1 microsecond + await asyncio.sleep(1e-6) Args = TypeVar('Args')