🐛 Fix quartz stuck the main process
This commit is contained in:
parent
7f5183f83b
commit
44d2ec9c4a
@ -69,7 +69,7 @@ func main() {
|
|||||||
quartz.AddFunc("@every 60m", services.DoAutoSignoff)
|
quartz.AddFunc("@every 60m", services.DoAutoSignoff)
|
||||||
quartz.AddFunc("@every 60m", services.DoAutoAuthCleanup)
|
quartz.AddFunc("@every 60m", services.DoAutoAuthCleanup)
|
||||||
quartz.AddFunc("@every 60m", services.DoAutoDatabaseCleanup)
|
quartz.AddFunc("@every 60m", services.DoAutoDatabaseCleanup)
|
||||||
quartz.Run()
|
quartz.Start()
|
||||||
|
|
||||||
// Messages
|
// Messages
|
||||||
log.Info().Msgf("Identity v%s is started...", identity.AppVersion)
|
log.Info().Msgf("Identity v%s is started...", identity.AppVersion)
|
||||||
|
Loading…
Reference in New Issue
Block a user