Merge pull request 'Enable cron job to delete repo archives' (#423) from chore/395-gitea_cron into master

Reviewed-on: #423
This commit is contained in:
Râu Cao 2022-08-08 10:54:26 +00:00
commit 4adccb7411
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ MAX_SIZE = 10
; ; Max number of files per upload. Defaults to 5
MAX_FILES = 5
[cron.delete_repo_archives]
ENABLED = true
RUN_AT_START = false
NOTICE_ON_SUCCESS = false
SCHEDULE = @every 15m
<% if c = @config["webhook"] %>
[webhook]
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>