From 8a0af16d173ce6c8806a9cece1c895b3efe5d713 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 29 May 2019 08:07:11 -0700 Subject: [PATCH] Increase Gerrit startup timeout to 300 seconds The default is now 90 seconds and we run into that and timeout which confuses systemd. To avoid confusing systemd increase the timeout to its old value of 300 seconds which worked back with older Gerrit. Hopefully this doesn't confuse systemd anymore. Change-Id: I8476c832f950e18035e11f225202eff8572f5ce8 --- templates/gerrit.config.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/gerrit.config.erb b/templates/gerrit.config.erb index e6ef531..8658b13 100644 --- a/templates/gerrit.config.erb +++ b/templates/gerrit.config.erb @@ -52,6 +52,7 @@ includeDiff = <%= @sendemail_include_diff %> [container] user = gerrit2 + startupTimeout = 300 <% if @java_home != "" -%> javaHome = <%= @java_home %> <% end -%>