wait 1s for message in call_async_output

This commit is contained in:
Kayou 2021-05-13 23:28:52 +02:00 committed by GitHub
parent 55e555aff5
commit 04b7f7bc6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ def call_async_output(args, callback, **kwargs):
while True:
try:
callback, message = log_queue.get_nowait()
callback, message = log_queue.get(True, 1)
except queue.Empty:
break