fix: reduce excessive logging when database is unreachable (#17363)

Fixes #17045

---------

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
This commit is contained in:
Danny Kopping
2025-04-15 10:55:30 +02:00
committed by GitHub
parent 2f99d70640
commit 0b18e458f4
10 changed files with 160 additions and 20 deletions
+3
View File
@@ -591,6 +591,9 @@ export interface DangerousConfig {
readonly allow_all_cors: boolean;
}
// From codersdk/database.go
export const DatabaseNotReachable = "database not reachable";
// From healthsdk/healthsdk.go
export interface DatabaseReport extends BaseReport {
readonly healthy: boolean;