summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-08-21 17:01:37 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-08-22 16:35:22 +0200
commitbe28f9520e466114a7fb274fa951492ffe24addc (patch)
treec5dab57760d211c75283753b8895d582a3dc7b61
parent646aae3e4f0f9c547397fdf55cc2205b0171b565 (diff)
downloadgitlab-ce-be28f9520e466114a7fb274fa951492ffe24addc.tar.gz
Raise GC Lease Timeout to 24hgit-gc-raise-lease-timeotu
[ci skip]
-rw-r--r--app/services/projects/housekeeping_service.rb3
-rw-r--r--changelogs/unreleased/13719-git-gc-timeout.yml3
2 files changed, 5 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
diff --git a/changelogs/unreleased/13719-git-gc-timeout.yml b/changelogs/unreleased/13719-git-gc-timeout.yml
new file mode 100644
index 00000000000..13cf97ec764
--- /dev/null
+++ b/changelogs/unreleased/13719-git-gc-timeout.yml
@@ -0,0 +1,3 @@
+---
+title: "Raise Housekeeping timeout to 24 hours"
+merge_request: 13719