mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +00:00
perf: Remove multiprocessing from the import tree
This commit is contained in:
parent
ad90d9485f
commit
ad37665e8b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user