chore: shorten db persist interval to 1min (#15145)

This commit is contained in:
Tom Jason Schwanke 2024-07-30 10:46:29 +02:00 • committed by GitHub
parent 04fcb75e48
commit a49188712a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -524,7 +524,7 @@ func configureDatabase(conf globalconfig.DB) error {
// persist unsaved settings every 30 minutes
go func() {
for range time.Tick(30 * time.Minute) {
for range time.Tick(time.Minute) {
persistSettings()
}
}()