mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
perf: in call_async_output: only wait for 0.1 sec, should speed up things significantly for stuff that calls a lot of hooks...
This commit is contained in:
parent
976aac0d05
commit
cfb840c5cc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def call_async_output(args, callback, **kwargs):
|
|||
while p.poll() is None:
|
||||
while True:
|
||||
try:
|
||||
callback, message = log_queue.get(True, 1)
|
||||
callback, message = log_queue.get(True, 0.1)
|
||||
except queue.Empty:
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue