Auth: Refactor Cleanup worker that deletes expired sessions #808 #3943

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-04-17 09:06:01 +02:00
parent 0134c68d2c
commit d6c50e1c54
4 changed files with 30 additions and 23 deletions

View File

@@ -36,7 +36,7 @@ import (
var log = event.Log
var stop = make(chan bool, 1)
// Start runs the metadata, share & sync background workers at regular intervals.
// Start runs the sync and metadata maintenance background workers at regular intervals.
func Start(conf *config.Config) {
interval := conf.WakeupInterval()