Skip to content

Commit

Permalink
bug fixed caused by #530 (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jan 25, 2017
1 parent 634ac9c commit 2a80e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func checkRunMode() {
func NewServices() {
setting.NewServices()
mailer.NewContext()
indexer.NewContext()
}

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

// Booting long running goroutines.
cron.NewContext()
indexer.NewContext()
models.InitSyncMirrors()
models.InitDeliverHooks()
models.InitTestPullRequests()
Expand Down

0 comments on commit 2a80e5a

Please sign in to comment.