diff options
author | Vincent Ambo <tazjin@google.com> | 2020-06-16T17·28+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-06-16T17·42+0000 |
commit | 2a764503bef17781bdd5d57ec041208c040eb127 (patch) | |
tree | bbfbb0620d64c5f90d9002cf7104a60254d9eb9c /ops | |
parent | 18994b9c588977375826ea09b090b97851fb1c8e (diff) |
fix(monorepo-gerrit): Don't expire sessions unreasonably quickly r/1000
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>
Diffstat (limited to 'ops')
-rw-r--r-- | ops/nixos/monorepo-gerrit.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix index ac20b3cb4970..fe3be6d720a7 100644 --- a/ops/nixos/monorepo-gerrit.nix +++ b/ops/nixos/monorepo-gerrit.nix @@ -29,6 +29,7 @@ in { log.textLogging = false; sshd.advertisedAddress = "code.tvl.fyi:29418"; hooks.path = "${gerritHooks}"; + cache.web_sessions.maxAge = "3 months"; # Configures gerrit for being reverse-proxied by nginx as per # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html |