File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
import shutil
39
39
import subprocess
40
40
import sys
41
- from concurrent .futures import ALL_COMPLETED , ThreadPoolExecutor , wait
41
+ from concurrent .futures import ALL_COMPLETED , ProcessPoolExecutor , wait
42
42
from datetime import datetime
43
43
44
44
@@ -226,7 +226,7 @@ def build_one(
226
226
)
227
227
logging .info ("Build start for version: %s, language: %s" , str (version ), language )
228
228
sphinxopts = SPHINXOPTS [language ].copy ()
229
- sphinxopts .extend (["-j4" , "- q" ])
229
+ sphinxopts .extend (["-q" ])
230
230
if language != "en" :
231
231
gettext_language_tag = pep_545_tag_to_gettext_tag (language )
232
232
locale_dirs = os .path .join (build_root , str (version ), "locale" )
@@ -513,7 +513,7 @@ def main():
513
513
# instead of none. "--languages en" builds *no* translation,
514
514
# as "en" is the untranslated one.
515
515
args .languages = LANGUAGES
516
- with ThreadPoolExecutor (max_workers = args .jobs ) as executor :
516
+ with ProcessPoolExecutor (max_workers = args .jobs ) as executor :
517
517
futures = []
518
518
for version , git_branch , devel in branches_to_do :
519
519
for language in args .languages :
You can’t perform that action at this time.
0 commit comments