diff --git a/templates/etc/gitea/conf/app.ini.j2 b/templates/etc/gitea/conf/app.ini.j2 index 4b5405c..70f7fb1 100644 --- a/templates/etc/gitea/conf/app.ini.j2 +++ b/templates/etc/gitea/conf/app.ini.j2 @@ -86,6 +86,12 @@ RUN_AT_START = true SCHEDULE = @midnight UPDATE_EXISTING = true +[cron.archive_cleanup] +ENABLED = true +RUN_AT_START = true +SCHEDULE = @midnight +OLDER_THAN = 168h + [indexer] REPO_INDEXER_ENABLED = true