From bf38f3981265a2823c8a8e81db9a337ceea4bcf3 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 20 Nov 2023 12:07:42 -0700 Subject: [PATCH] enable GC --- templates/etc/gitea/conf/app.ini.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/etc/gitea/conf/app.ini.j2 b/templates/etc/gitea/conf/app.ini.j2 index 6061532..d4913be 100644 --- a/templates/etc/gitea/conf/app.ini.j2 +++ b/templates/etc/gitea/conf/app.ini.j2 @@ -92,6 +92,12 @@ RUN_AT_START = true SCHEDULE = @midnight OLDER_THAN = 168h +[cron.git_gc_repos] +ENABLED = true +RUN_AT_START = true +SCHEDULE = @every 72h +TIMEOUT = 120s + [indexer] REPO_INDEXER_ENABLED = true