X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=2ec2c3518bae47d43c3104eba8f54561be416d7e;hb=b70ed9811d09a6906b523af26b68d2bd8d004a3b;hp=488005636e09c9ef17f597091b1ae440a620db1b;hpb=eda72470b56d525f59ba7fe1716a6f27a9b80542;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index 48800563..2ec2c351 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -256,10 +256,12 @@ def main(): upload_ids = [ u.id for u in init(session) ] session.close() - p = pool.map_async(do_pkg, upload_ids) + for upload_id in upload_ids: + pool.apply_async(do_pkg, [upload_id]) pool.close() - p.wait(timeout=600) + #p.wait(timeout=600) + pool.join() for htmlfile in htmlfiles_to_process: with open(htmlfile, "w") as fd: fd.write(timeout_str)