2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fix: set translations download limit based on cpu cores

This commit is contained in:
Gavin D'souza 2020-04-11 21:21:07 +05:30
parent e39ae1e0b5
commit 7e7c3969a7

View File

@ -844,7 +844,7 @@ def update_translations_p(args):
def download_translations_p(): def download_translations_p():
pool = multiprocessing.Pool(4) pool = multiprocessing.Pool(multiprocessing.cpu_count())
langs = get_langs() langs = get_langs()
apps = ('frappe', 'erpnext') apps = ('frappe', 'erpnext')