2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 06:49:06 +00:00

perf: Remove multiprocessing from the import tree

This commit is contained in:
Aditya Hase 2021-02-21 10:01:44 +05:30
parent ad90d9485f
commit ad37665e8b
No known key found for this signature in database
GPG Key ID: 0A55F0FCA0234972

View File

@ -9,7 +9,6 @@ import grp
import itertools
import json
import logging
import multiprocessing
import os
import pwd
import re
@ -825,6 +824,8 @@ def update_translations_p(args):
def download_translations_p():
import multiprocessing
pool = multiprocessing.Pool(multiprocessing.cpu_count())
langs = get_langs()