🐛 Fix quartz stuck the main process

This commit is contained in:
LittleSheep 2024-04-06 11:48:45 +08:00
parent 7f5183f83b
commit 44d2ec9c4a

View File

@ -69,7 +69,7 @@ func main() {
quartz.AddFunc("@every 60m", services.DoAutoSignoff)
quartz.AddFunc("@every 60m", services.DoAutoAuthCleanup)
quartz.AddFunc("@every 60m", services.DoAutoDatabaseCleanup)
quartz.Run()
quartz.Start()
// Messages
log.Info().Msgf("Identity v%s is started...", identity.AppVersion)