Harden backup and restore operations
This commit is contained in:
1 parent
6cbf170d65
commit
bbf063c157
26 files changed
+914
-184
No files matched your search
@@ -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")
|
||||
}
|
||||
Reference in new issue
Block a user