Bug 1460678 - doc: Disable sentry as it adds significant overhead r=mhentges

Differential Revision: https://phabricator.services.mozilla.com/D123795
This commit is contained in:
Sylvestre Ledru 2021-08-26 20:33:33 +00:00
Родитель 03b9326d8e
Коммит 1219c444a7
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -14,6 +14,7 @@ import time
import yaml
import uuid
import mozpack.path as mozpath
import sentry_sdk
from functools import partial
from pprint import pprint
@ -250,6 +251,10 @@ class Documentation(MachCommandBase):
import sphinx.cmd.build
config = config or self.manager().conf_py_path
# When running sphinx with sentry, it adds significant overhead
# and makes the build generation very very very slow
# So, disable it to generate the doc faster
sentry_sdk.init(None)
args = [
"-T",
"-b",