mirror of
https://github.com/go-gitea/gitea
synced 2025-11-03 04:48:25 +00:00
feat: stop zombie and endless tasks
This commit is contained in:
@@ -31,6 +31,7 @@ func NewContext(original context.Context) {
|
||||
_, _, finished := process.GetManager().AddTypedContext(graceful.GetManager().ShutdownContext(), "Service: Cron", process.SystemProcessType, true)
|
||||
initBasicTasks()
|
||||
initExtendedTasks()
|
||||
initBotsTasks()
|
||||
|
||||
lock.Lock()
|
||||
for _, task := range tasks {
|
||||
|
||||
Reference in New Issue
Block a user