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