Switch Gitea archive cleanup from weekly to daily

Crawlers that ignore our robots.txt are triggering archive creation
so rapidly our rootfs fills up between weekly purges, so doing it
once a day should hopefully mitigate further problems.

Change-Id: Ib4e56fbd666f7bf93c017739697d8443d527b8c7
This commit is contained in:
Jeremy Stanley 2024-04-17 14:15:49 +00:00
parent 998493a057
commit 6466fa8419

View File

@ -124,7 +124,7 @@ STORAGE_TYPE = local
PATH = /data/git/lfs
; This is an undocumented gitea cron job that will delete all
; repo archives once a week Sunday at midnight. Repo archives are
; repo archives once daily at midnight. Repo archives are
; tarballs/zips/etc of repository state generate for things like
; tags. This helps ensure we don't run out of disk.
[cron.delete_repo_archives]
@ -133,7 +133,7 @@ RUN_AT_START = false
NOTICE_ON_SUCCESS = false
; Note we run this several hours after 0000 (midnight) to avoid conflict
; with default cron jobs run by gitea at that time.
SCHEDULE = 0 0 3 * * 0
SCHEDULE = 0 0 3 * * *
; We don't need gitea phoning out to check versions. We stay on
; top of new releases using github release notifications over email.