mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
wait 1s for message in call_async_output
This commit is contained in:
parent
55e555aff5
commit
04b7f7bc6f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue