You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -786,6 +786,13 @@ NB: You must have `DISABLE_ROUTER_LOG` set to `false` for this option to take ef
786
786
-`NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices.
787
787
-`SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
788
788
789
+
#### Cron - Delete all old actions from database ('cron.delete_old_actions')
790
+
-`ENABLED`: **false**: Enable service.
791
+
-`RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
792
+
-`NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices.
793
+
-`SCHEDULE`: **@every 128h**: Cron syntax for scheduling a work, e.g. `@every 128h`.
794
+
-`OLDER_THAN`: **@every 8760h**: any action older than this expression will be deleted from database, suggest using `8760h` (1 year) because that's the max length of heatmap.
795
+
789
796
## Git (`git`)
790
797
791
798
-`PATH`: **""**: The path of git executable. If empty, Gitea searches through the PATH environment.
0 commit comments