mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
add cron job to delete old actions from database (#15688)
that's a way to save database storage space. Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
ca0460beb7
commit
ae6d7860be
5 changed files with 42 additions and 0 deletions
|
@ -1145,6 +1145,14 @@ RUN_AT_START = false
|
|||
NO_SUCCESS_NOTICE = false
|
||||
SCHEDULE = @every 72h
|
||||
|
||||
; Delete all old actions from database
|
||||
[cron.delete_old_actions]
|
||||
ENABLED = false
|
||||
RUN_AT_START = false
|
||||
NO_SUCCESS_NOTICE = false
|
||||
SCHEDULE = @every 168h
|
||||
OLDER_THAN = 8760h
|
||||
|
||||
[git]
|
||||
; The path of git executable. If empty, Gitea searches through the PATH environment.
|
||||
PATH =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue