From bdfaf600d4226c7201ff9ffff1a6534b3ab909b5 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 21 Dec 2014 23:19:27 +0100 Subject: parallel --- imdb-lookup/imdbinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index 688d03c..54ab2b6 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -358,7 +358,7 @@ def do_index(args, imdb_ids): out = open(filename, "w") out.write(callbackName) out.write("(") - pool = Pool(processes=10) # parallel fetchers + pool = Pool(processes=6) # parallel fetchers infos = pool.map(getInfo, imdb_ids) json.dump(list(filter(bool,infos)), out) out.write(")") -- cgit v1.2.1