CancelQuery cancels a running query by its backend key. Returns true if a query was found and cancelled, false otherwise.
(key BackendKey)
| 718 | } |
| 719 | } |
| 720 | if s.acmeDNSManager != nil { |
| 721 | if err := s.acmeDNSManager.Close(); err != nil { |
| 722 | slog.Warn("ACME DNS manager shutdown error.", "error", err) |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | // Stop query logger (drains remaining entries) |
| 727 | if err := s.StopQueryLogging(ctx); err != nil { |
| 728 | slog.Warn("Query log shutdown deadline exceeded.", "error", err) |
| 729 | } |
| 730 | |
| 731 | // Database connections are now closed by each clientConn when it terminates |
| 732 | slog.Info("Shutdown complete.") |
| 733 | return nil |
| 734 | } |
| 735 |
no outgoing calls