1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-28 03:28:13 +00:00

finish adding and deleting secret for repository settting

This commit is contained in:
Lunny Xiao
2022-10-09 19:57:51 +08:00
committed by Jason Song
parent e43e3f9518
commit da981db596
5 changed files with 72 additions and 16 deletions

View File

@@ -48,6 +48,7 @@ import (
pull_service "code.gitea.io/gitea/services/pull"
repo_service "code.gitea.io/gitea/services/repository"
"code.gitea.io/gitea/services/repository/archiver"
secret_service "code.gitea.io/gitea/services/secrets"
"code.gitea.io/gitea/services/task"
"code.gitea.io/gitea/services/webhook"
)
@@ -151,6 +152,8 @@ func GlobalInitInstalled(ctx context.Context) {
mustInit(models.Init)
mustInit(repo_service.Init)
mustInit(secret_service.Init)
// Booting long running goroutines.
issue_indexer.InitIssueIndexer(false)
code_indexer.Init()