[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 3/3] show-new: limit to five threads to avoid using too many resources



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/show_new.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/show_new.py b/dak/show_new.py
index ae87b00..d2b133b 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)
-- 
1.7.2.5


Reply to: