summaryrefslogtreecommitdiff
path: root/internal/db/bundb/basic.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/basic.go')
-rw-r--r--internal/db/bundb/basic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/basic.go b/internal/db/bundb/basic.go
index c7bcf4b71..6406ede35 100644
--- a/internal/db/bundb/basic.go
+++ b/internal/db/bundb/basic.go
@@ -160,7 +160,7 @@ func (b *basicDB) DropTable(ctx context.Context, i interface{}) db.Error {
}
func (b *basicDB) IsHealthy(ctx context.Context) db.Error {
- return b.conn.Ping()
+ return b.conn.PingContext(ctx)
}
func (b *basicDB) Stop(ctx context.Context) db.Error {