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
+7
View File
@@ -0,0 +1,7 @@
package codersdk
import "golang.org/x/xerrors"
const DatabaseNotReachable = "database not reachable"
var ErrDatabaseNotReachable = xerrors.New(DatabaseNotReachable)