summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go
index ee74ef7970..1d7cf78438 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -110,7 +110,7 @@ func GlobalInit(ctx context.Context) {
// Booting long running goroutines.
cron.NewContext()
issue_indexer.InitIssueIndexer(false)
- code_indexer.InitRepoIndexer()
+ code_indexer.Init()
mirror_service.InitSyncMirrors()
webhook.InitDeliverHooks()
pull_service.Init()