Skip to content

Commit 2a80e5a

Browse files
authored
bug fixed caused by #530 (#755)
1 parent 634ac9c commit 2a80e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: routers/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func checkRunMode() {
3737
func NewServices() {
3838
setting.NewServices()
3939
mailer.NewContext()
40-
indexer.NewContext()
4140
}
4241

4342
// GlobalInit is for global configuration reload-able.
@@ -61,6 +60,7 @@ func GlobalInit() {
6160

6261
// Booting long running goroutines.
6362
cron.NewContext()
63+
indexer.NewContext()
6464
models.InitSyncMirrors()
6565
models.InitDeliverHooks()
6666
models.InitTestPullRequests()

0 commit comments

Comments
 (0)