Commit c2540826 authored by Stan Hu's avatar Stan Hu

Merge branch 'pl-perf-bt-cleaner-regexp-match' into 'master'

Improve performance of Gitlab::BacktraceCleaner

See merge request gitlab-org/gitlab!40180
parents bb1405a1 817a2db8
---
title: Improve performance of Gitlab::BacktraceCleaner
merge_request: 40180
author:
type: performance
......@@ -31,7 +31,7 @@ module Gitlab
return unless backtrace
Array(Rails.backtrace_cleaner.clean(backtrace)).reject do |line|
line.match(IGNORED_BACKTRACES_REGEXP)
IGNORED_BACKTRACES_REGEXP.match?(line)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment