refactor: rename to actions

This commit is contained in:
Jason Song
2022-12-06 15:16:25 +08:00
parent 56368f3963
commit 223782ca4c
50 changed files with 247 additions and 247 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func NewContext(original context.Context) {
_, _, finished := process.GetManager().AddTypedContext(graceful.GetManager().ShutdownContext(), "Service: Cron", process.SystemProcessType, true)
initBasicTasks()
initExtendedTasks()
initBotsTasks()
initActionsTasks()
lock.Lock()
for _, task := range tasks {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
actions_service "code.gitea.io/gitea/services/actions"
)
func initBotsTasks() {
func initActionsTasks() {
registerStopZombieTasks()
registerStopEndlessTasks()
registerCancelAbandonedJobs()