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