Commit 1219c444 authored by Sylvestre Ledru's avatar Sylvestre Ledru
Browse files

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

parent 03b9326d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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",