chore: shorten db persist interval to 1min (#15145)
This commit is contained in:
parent
04fcb75e48
commit
a49188712a
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue