summaryrefslogtreecommitdiff
path: root/kvmd/aiotools.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/aiotools.py')
-rw-r--r--kvmd/aiotools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/aiotools.py b/kvmd/aiotools.py
index add405f8..125e2779 100644
--- a/kvmd/aiotools.py
+++ b/kvmd/aiotools.py
@@ -119,7 +119,8 @@ def run_sync(coro: Coroutine[Any, Any, _RetvalT]) -> _RetvalT:
# =====
async def wait_infinite() -> None:
- await asyncio.get_event_loop().create_future()
+ while True:
+ await asyncio.sleep(3600)
async def wait_first(*aws: Awaitable) -> Tuple[Set[asyncio.Task], Set[asyncio.Task]]: