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/app
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-08-22 19:44:39 +0300
committerJarka Kadlecova <jarka@gitlab.com>2017-08-22 21:19:12 +0300
commit54830c8502a1418d7ecdf36184a469ecaeef63b6 (patch)
tree4ad8a01238ebf13085b18267c0feb67d01e699e0 /app
parent8171e1f61b45256eed3eddc4d615c14d78c6d315 (diff)
Merge branch 'git-gc-raise-lease-timeotu' into 'master'
Raise Git GC (Housekeeping) Lease Timeout to 24h See merge request !13719
Diffstat (limited to 'app')
-rw-r--r--app/services/projects/housekeeping_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/projects/housekeeping_service.rb b/app/services/projects/housekeeping_service.rb
index 4b8946f8ee2..d66ef676088 100644
--- a/app/services/projects/housekeeping_service.rb
+++ b/app/services/projects/housekeeping_service.rb
@@ -9,7 +9,8 @@ module Projects
class HousekeepingService < BaseService
include Gitlab::CurrentSettings
- LEASE_TIMEOUT = 3600
+ # Timeout set to 24h
+ LEASE_TIMEOUT = 86400
class LeaseTaken < StandardError
def to_s