fix(monorepo-gerrit): Don't expire sessions unreasonably quickly

Changes the default session timeout to 3 months, which is a lot more
reasonable than the default of 12 hours.

See https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#cache.name.maxAge

Change-Id: I33bce8b072d64ab07f1b954c11068595dca5def7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/431
Reviewed-by: riking <rikingcoding@gmail.com>
This commit is contained in:
Vincent Ambo 2020-06-16 18:28:36 +01:00 committed by tazjin
parent 18994b9c58
commit 2a764503be

View file

@ -29,6 +29,7 @@ in {
log.textLogging = false; log.textLogging = false;
sshd.advertisedAddress = "code.tvl.fyi:29418"; sshd.advertisedAddress = "code.tvl.fyi:29418";
hooks.path = "${gerritHooks}"; hooks.path = "${gerritHooks}";
cache.web_sessions.maxAge = "3 months";
# Configures gerrit for being reverse-proxied by nginx as per # Configures gerrit for being reverse-proxied by nginx as per
# https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html