From a0754db8f3f00b4416fd4c68703525a9a1f3ad16 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sun, 5 Jun 2011 22:38:30 +0000 Subject: [PATCH] show-new: limit to five threads to avoid using too many resources Signed-off-by: Luca Falavigna --- dak/show_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5