diff options
author | Sean McGivern <sean@gitlab.com> | 2018-07-04 16:11:47 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-07-04 16:11:47 +0100 |
commit | b9b0fc8db1fda57998a15cde076db1e38a3a5d4d (patch) | |
tree | 94239ec49af2ccaa0bc4dace2f56de90273a2edb /lib | |
parent | 0482e706df315a236fdf9c4e2777af1d8e998b5c (diff) | |
download | gitlab-ce-b9b0fc8db1fda57998a15cde076db1e38a3a5d4d.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index 620362b52a9..66e781a8e5b 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -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 |