MCPcopy Create free account
hub / github.com/bytebase/bytebase / isLockTimeoutError

Function isLockTimeoutError

backend/plugin/db/pg/pg.go:496–498  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

494}
495
496func isLockTimeoutError(message string) bool {
497 return strings.Contains(message, "canceling statement due to lock timeout")
498}
499
500func (d *Driver) executeInTransactionMode(
501 ctx context.Context,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected