From a1245cb3305e657b319cf56941d63ad6fce78314 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 22 Mar 2016 10:29:50 +1300 Subject: [PATCH] Set gerrit login cache to 2m This allows folk to go on holiday or whatever and not have to deal with Gerrits rough handling of session expiry. Change-Id: I39aff380aa6a41ba61efebfb4691bc6727d453ce --- templates/gerrit.config.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gerrit.config.erb b/templates/gerrit.config.erb index 45616d3..fa04a59 100644 --- a/templates/gerrit.config.erb +++ b/templates/gerrit.config.erb @@ -106,7 +106,7 @@ [cache] directory = cache [cache "web_sessions"] - maxAge = 1d + maxAge = 2m <% if @cache_diff_timeout != "" -%> [cache "diff"] timeout = <%= @cache_diff_timeout %>