diff options
author | Mark Lapierre <mlapierre@gitlab.com> | 2019-02-28 13:09:25 -0500 |
---|---|---|
committer | Mark Lapierre <mlapierre@gitlab.com> | 2019-03-01 09:59:03 -0500 |
commit | da5bedb27a56b35dcb919188a037a0ed1bfc8a9e (patch) | |
tree | 6ba73115c29c1db47ece44487ebbd7ccf77efa6a | |
parent | 5d9e00aa7b5895efb0d8d1cef3a3780ac1eccd12 (diff) | |
download | gitlab-ce-ml-lower-gitaly-nplus1-limit.tar.gz |
Lower the max number of Gitaly callsml-lower-gitaly-nplus1-limit
Allow fewer Gitaly calls, to reveal parts of the codebase where
performance could be improved.
-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 869b835b61e..4e036568764 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -28,7 +28,7 @@ module Gitlab PEM_REGEX = /\-+BEGIN CERTIFICATE\-+.+?\-+END CERTIFICATE\-+/m SERVER_VERSION_FILE = 'GITALY_SERVER_VERSION' - MAXIMUM_GITALY_CALLS = 30 + MAXIMUM_GITALY_CALLS = 25 CLIENT_NAME = (Sidekiq.server? ? 'gitlab-sidekiq' : 'gitlab-web').freeze MUTEX = Mutex.new |