Commit b9b0fc8d authored by Sean McGivern's avatar Sean McGivern

Clean up Gitaly N+1 stack traces

We don't need to know the details of every library involved in these calls; they
will always originate in the GitLab app itself.
parent 0482e706
......@@ -429,7 +429,7 @@ module Gitlab
def self.count_stack
return unless RequestStore.active?
stack_string = caller.drop(1).join("\n")
stack_string = Gitlab::Profiler.clean_backtrace(caller).drop(1).join("\n")
RequestStore.store[:stack_counter] ||= Hash.new
......
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