Run manual diagnostic attachments in the background

This commit is contained in:
ayurishchev committed 2026-11-22 20:50:39 +03:00
1 parent d845a5e4b6
commit 89ac4d5bcd
40 files changed
+1560 -58

No files matched your search

+4
View File
@@ -59,6 +59,9 @@ var diagnosticHoldsSchema string
//go:embed migrations/0015_inbound_tls_checks.sql
var inboundTLSChecksSchema string
//go:embed migrations/0016_diagnostic_operations.sql
var diagnosticOperationsSchema string
// migrations is the ordered list of schema versions. Each entry's SQL is
// applied, in order, for any version greater than the database's current
// PRAGMA user_version — so a fresh database walks the whole list and an
@@ -82,6 +85,7 @@ var migrations = []struct {
{13, dropChecksIndexSchema},
{14, diagnosticHoldsSchema},
{15, inboundTLSChecksSchema},
{16, diagnosticOperationsSchema},
}
// connPragmas are applied to every new connection. A larger WAL checkpoint