From f819acf9bca2a6efb9283083f1da8acd6f8c649c Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sat, 12 Oct 2024 19:52:21 +0200 Subject: [PATCH] feat(forgejo): 7 days sessions --- machines/storage01/forgejo.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/storage01/forgejo.nix b/machines/storage01/forgejo.nix index 4dfcd00..7ea165f 100644 --- a/machines/storage01/forgejo.nix +++ b/machines/storage01/forgejo.nix @@ -44,6 +44,11 @@ in USER = "web-services@infra.dgnum.eu"; }; + session = { + SESSION_LIFE_TIME = 24 * 3600 * 7; + GC_INTERVAL_TIME = 24 * 3600 * 7; + }; + server = { ROOT_URL = "https://${host}/"; DOMAIN = host; -- 2.47.0