init cronjobs after db init as a go routine
This commit is contained in:
parent
57e40c71e1
commit
752a95ed65
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -62,9 +62,9 @@ func (web *Web) init() {
|
|||
}
|
||||
web.validateProxyURL()
|
||||
web.initDB()
|
||||
go web.initCronJobs()
|
||||
web.initRouter()
|
||||
web.initNotifiers()
|
||||
web.initCronJobs()
|
||||
}
|
||||
|
||||
// startupWarning is a helper function to add a message to web.startupWarnings and print it to stdout
|
||||
|
|
Loading…
Add table
Reference in a new issue