diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-23 09:49:39 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-23 09:52:13 -0700 |
commit | 7db1c1575f45eb4fe1b889a71df4fb9d7ef4bc77 (patch) | |
tree | 765558af04e4586f5b21c372f9186341fb9e3ee0 /config/initializers | |
parent | 4636bebb6823d0bf69230edc4c20300d1978948f (diff) | |
download | gitlab-ce-7db1c1575f45eb4fe1b889a71df4fb9d7ef4bc77.tar.gz |
Remove instrumentation Rouge::Plugins::{Redcarpet,CommonMark}
The removal in 4d376c667d72e0eca22b4abe76e0bf09434fc4bd had an unintended
side effect in that it got rid of the `require 'rouge/plugins/redcarpet'`.
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/8_metrics.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb index fe37b7710aa..4d8d35bf6cf 100644 --- a/config/initializers/8_metrics.rb +++ b/config/initializers/8_metrics.rb @@ -80,8 +80,6 @@ def instrument_classes(instrumentation) instrumentation.instrument_instance_methods(RepositoryCheck::SingleRepositoryWorker) - instrumentation.instrument_instance_methods(Rouge::Plugins::CommonMark) - instrumentation.instrument_instance_methods(Rouge::Plugins::Redcarpet) instrumentation.instrument_instance_methods(Rouge::Formatters::HTMLGitlab) [:XML, :HTML].each do |namespace| |