diff options
Diffstat (limited to 'routers/init.go')
-rw-r--r-- | routers/init.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/init.go b/routers/init.go index 5113ec4cef..d04ffea4c1 100644 --- a/routers/init.go +++ b/routers/init.go @@ -13,7 +13,6 @@ import ( "code.gitea.io/gitea/models/migrations" "code.gitea.io/gitea/modules/cron" "code.gitea.io/gitea/modules/highlight" - "code.gitea.io/gitea/modules/indexer" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/mailer" "code.gitea.io/gitea/modules/markup" @@ -63,7 +62,7 @@ func GlobalInit() { // Booting long running goroutines. cron.NewContext() - indexer.NewContext() + models.InitIssueIndexer() models.InitSyncMirrors() models.InitDeliverHooks() models.InitTestPullRequests() |