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.
This commit is contained in:
parent
0482e706df
commit
b9b0fc8db1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue