diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-06-26 05:07:44 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-06-28 06:25:57 +0300 |
commit | 9753a7d2882d7c8efce7b63674f36d78ae3edafb (patch) | |
tree | b92e0cb56c5701aead41a79734b3234ca8edc549 /lib | |
parent | b52e3b2d57e3c1bf9905f32aeb0e5428009440da (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.rb | 2 |
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 |