async sleep
This commit is contained in:
+1
-1
@@ -411,7 +411,7 @@ class Backend:
|
|||||||
if line:
|
if line:
|
||||||
await handle_log_line(line.rstrip())
|
await handle_log_line(line.rstrip())
|
||||||
else:
|
else:
|
||||||
time.sleep(LOG_POLL_INTERVAL)
|
await asyncio.sleep(LOG_POLL_INTERVAL)
|
||||||
|
|
||||||
###########
|
###########
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user