init cronjobs after db init as a go routine

This commit is contained in:
BroodjeAap 2023-01-22 21:06:44 +00:00
parent 57e40c71e1
commit 752a95ed65

View file

@ -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