Skip to content

Commit

Permalink
bug fixed caused by go-gitea#530
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 25, 2017
1 parent 8555e88 commit 6214c79
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 6214c79

Please sign in to comment.