backup: Clear the requested backup upon completion notification

Now the main go routine takes care of the backup synchronization.
This commit is contained in:
Jöran Karl
2024-10-12 16:35:47 +02:00
parent 771aab251c
commit 79ce93fb7d
3 changed files with 13 additions and 5 deletions

View File

@@ -489,6 +489,8 @@ func DoEvent() {
}
case f := <-timerChan:
f()
case b := <-buffer.BackupCompleteChan:
b.RequestedBackup = false
case <-sighup:
exit(0)
case <-util.Sigterm: