Browse Source

bug fixed caused by #530 (#755)

for-closed-social
Lunny Xiao 7 years ago
committed by GitHub
parent
commit
2a80e5a81e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/init.go

+ 1
- 1
routers/init.go View File

@ -37,7 +37,6 @@ func checkRunMode() {
func NewServices() {
setting.NewServices()
mailer.NewContext()
indexer.NewContext()
}
// GlobalInit is for global configuration reload-able.
@ -61,6 +60,7 @@ func GlobalInit() {
// Booting long running goroutines.
cron.NewContext()
indexer.NewContext()
models.InitSyncMirrors()
models.InitDeliverHooks()
models.InitTestPullRequests()

Loading…
Cancel
Save