diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-28 13:39:08 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-28 13:39:08 +0300 |
commit | 5ee5b280b05f63768f359d0b82d5edd490c0e7cd (patch) | |
tree | 25d0c35b5acc857ec4551c4064f871b0b2cbe005 /lib | |
parent | ecb05e59014ffdc2e9b9e933a61684e86f541bf0 (diff) | |
parent | 9753a7d2882d7c8efce7b63674f36d78ae3edafb (diff) |
Merge branch 'set-higher-ttl-for-trace-write' into 'master'
Set higher TTL to write lock for traces
See merge request gitlab-org/gitlab-ce!30064
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 |