about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/monorepo-gerrit.nix1
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