Un-instrument Banzai::ReferenceExtractor

Instrumenting this class together with Gitlab::ReferenceExtractor causes
a StackError for some reason. Since Gitlab::ReferenceExtractor has most
of the interesting code we'll only instrument that class.
This commit is contained in:
Yorick Peterse 2016-04-12 14:10:35 +02:00
parent 734df1bb50
commit b3d8b995c3
No known key found for this signature in database
GPG key ID: EDD30D2BEB691AC9

View file

@ -85,9 +85,6 @@ if Gitlab::Metrics.enabled?
config.instrument_instance_methods(const)
end
config.instrument_methods(Banzai::ReferenceExtractor)
config.instrument_instance_methods(Banzai::ReferenceExtractor)
config.instrument_methods(Banzai::Renderer)
config.instrument_methods(Banzai::Querying)