diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-12-21 23:19:27 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-12-21 23:19:27 +0100 |
commit | bdfaf600d4226c7201ff9ffff1a6534b3ab909b5 (patch) | |
tree | cd3a0c1cc3ca313e4e7d8c8da5dd97f5268c368a /imdb-lookup | |
parent | 7cad21790ff34fa1ab10478210d2b788fd7bb992 (diff) | |
download | scripts-bdfaf600d4226c7201ff9ffff1a6534b3ab909b5.tar.gz scripts-bdfaf600d4226c7201ff9ffff1a6534b3ab909b5.zip |
parallel
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(")") |