Commit fbf4b95c authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in lib/gitlab/gitaly_client.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3d6f96a3
...@@ -118,11 +118,7 @@ module Gitlab ...@@ -118,11 +118,7 @@ module Gitlab
# end # end
# #
def self.call(storage, service, rpc, request, remote_storage: nil, timeout: nil) def self.call(storage, service, rpc, request, remote_storage: nil, timeout: nil)
<<<<<<< HEAD
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
=======
start = Gitlab::Metrics::System.monotonic_time start = Gitlab::Metrics::System.monotonic_time
>>>>>>> upstream/master
enforce_gitaly_request_limits(:call) enforce_gitaly_request_limits(:call)
kwargs = request_kwargs(storage, timeout, remote_storage: remote_storage) kwargs = request_kwargs(storage, timeout, remote_storage: remote_storage)
...@@ -139,14 +135,11 @@ module Gitlab ...@@ -139,14 +135,11 @@ module Gitlab
duration) duration)
end end
<<<<<<< HEAD
=======
def self.current_transaction_labels def self.current_transaction_labels
Gitlab::Metrics::Transaction.current&.labels || {} Gitlab::Metrics::Transaction.current&.labels || {}
end end
private_class_method :current_transaction_labels private_class_method :current_transaction_labels
>>>>>>> upstream/master
def self.request_kwargs(storage, timeout, remote_storage: nil) def self.request_kwargs(storage, timeout, remote_storage: nil)
encoded_token = Base64.strict_encode64(token(storage).to_s) encoded_token = Base64.strict_encode64(token(storage).to_s)
metadata = { metadata = {
......
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