Skip to content

Commit

Permalink
perf: Remove multiprocessing from the import tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Feb 21, 2021
1 parent ad90d94 commit ad37665
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import itertools
import json
import logging
import multiprocessing
import os
import pwd
import re
Expand Down Expand Up @@ -825,6 +824,8 @@ def update_translations_p(args):


def download_translations_p():
import multiprocessing

pool = multiprocessing.Pool(multiprocessing.cpu_count())

langs = get_langs()
Expand Down

0 comments on commit ad37665

Please sign in to comment.