]> err.no Git - dak/commitdiff
show-new: limit to five threads to avoid using too many resources
authorLuca Falavigna <dktrkranz@debian.org>
Sun, 5 Jun 2011 22:38:30 +0000 (22:38 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Sun, 5 Jun 2011 22:38:30 +0000 (22:38 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/show_new.py

index ae87b001b9aaf9fa8d8bed17c2fafa7bd8d48586..d2b133b74fab208397eaa5d962d18066dae3a33a 100755 (executable)
@@ -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)