feat: add startCron to start list
This commit is contained in:
parent
48e3c690ce
commit
eaa515345e
|
@ -19,9 +19,14 @@ func startDatabase(p interfaces.Portal) error {
|
||||||
return p.DatabaseService().Start()
|
return p.DatabaseService().Start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func startCron(p interfaces.Portal) error {
|
||||||
|
return p.CronService().Start()
|
||||||
|
}
|
||||||
|
|
||||||
func getStartList() []startFunc {
|
func getStartList() []startFunc {
|
||||||
return []startFunc{
|
return []startFunc{
|
||||||
startProtocolRegistry,
|
startProtocolRegistry,
|
||||||
startDatabase,
|
startDatabase,
|
||||||
|
startCron,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue