From: Luca Falavigna Date: Sun, 5 Jun 2011 22:38:30 +0000 (+0000) Subject: show-new: limit to five threads to avoid using too many resources X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a0754db8f3f00b4416fd4c68703525a9a1f3ad16;p=dak.git show-new: limit to five threads to avoid using too many resources Signed-off-by: Luca Falavigna --- diff --git a/dak/show_new.py b/dak/show_new.py index ae87b001..d2b133b7 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -276,7 +276,7 @@ def main(): examine_package.use_html=1 - pool = DakProcessPool() + pool = DakProcessPool(processes=5) p = pool.map_async(do_pkg, changes_files) pool.close() p.wait(timeout=600)