1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/services/cron
Jason Song 0c40cff9a4
Clear up old Actions logs (#31735)
Part of #24256.

Clear up old action logs to free up storage space.

Users will see a message indicating that the log has been cleared if
they view old tasks.

<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22">

Docs: https://gitea.com/gitea/docs/pulls/40

---------

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 687c1182482ad9443a5911c068b317a91c91d586)

Conflicts:
	custom/conf/app.example.ini
	routers/web/repo/actions/view.go
  trivial context conflict
2024-08-04 18:24:10 +02:00
..
cron.go Fix data-race bug when accessing task.LastRun (#27584) 2023-10-11 14:51:20 +00:00
setting.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
tasks.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
tasks_actions.go Clear up old Actions logs (#31735) 2024-08-04 18:24:10 +02:00
tasks_basic.go Move registerActionsCleanup to initActionsTasks (#31721) 2024-08-04 10:14:34 +02:00
tasks_extended.go Update checker setting updates 2024-03-31 10:52:24 +05:00
tasks_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00