Harden backup and restore operations

This commit is contained in:
Mikei386
2026-07-13 19:47:43 +02:00
parent 6cbf170d65
commit bbf063c157
26 changed files with 914 additions and 184 deletions
+3
View File
@@ -87,5 +87,8 @@ func main() {
shutdownCtx, shutdownCancel := context.WithTimeout(context.Background(), 15*time.Second)
defer shutdownCancel()
_ = server.Shutdown(shutdownCtx)
if err := svc.Wait(shutdownCtx); err != nil {
log.Warn("queue cleanup did not finish before shutdown timeout", "error", err)
}
log.Info("urbm daemon stopped")
}