1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Don't busy-wait on buildserver output

This commit is contained in:
Ciaran Gultnieks 2014-01-07 13:39:05 +00:00
parent 5f0a37645d
commit 5947c55b00

View File

@ -332,6 +332,7 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
output += chan.recv(1024)
while chan.recv_stderr_ready():
error += chan.recv_stderr(1024)
time.sleep(0.1)
print "...getting exit status"
returncode = chan.recv_exit_status()
while True: