mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat(enterprise): add ready for handshake support to pgcoord (#12935)
This commit is contained in:
@ -103,7 +103,7 @@ func (q *sqlQuerier) InTx(function func(Store) error, txOpts *sql.TxOptions) err
|
||||
// Transaction succeeded.
|
||||
return nil
|
||||
}
|
||||
if err != nil && !IsSerializedError(err) {
|
||||
if !IsSerializedError(err) {
|
||||
// We should only retry if the error is a serialization error.
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user