Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-06-26 05:07:44 +0300
committerShinya Maeda <shinya@gitlab.com>2019-06-28 06:25:57 +0300
commit9753a7d2882d7c8efce7b63674f36d78ae3edafb (patch)
treeb92e0cb56c5701aead41a79734b3234ca8edc549 /lib
parentb52e3b2d57e3c1bf9905f32aeb0e5428009440da (diff)
Set higher TTL to write lock for traces
Set higher TTL is safer option when it comes to long running archive
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/trace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb
index dfae260239e..ce5857965bf 100644
--- a/lib/gitlab/ci/trace.rb
+++ b/lib/gitlab/ci/trace.rb
@@ -5,7 +5,7 @@ module Gitlab
class Trace
include ::Gitlab::ExclusiveLeaseHelpers
- LOCK_TTL = 1.minute
+ LOCK_TTL = 10.minutes
LOCK_RETRIES = 2
LOCK_SLEEP = 0.001.seconds