mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
fix: correctly respect maxFailureCount (#7143)
This commit is contained in:
@@ -454,7 +454,10 @@ func (h *Handler) executeStatement(ctx context.Context, tx *sql.Tx, currentState
|
||||
}
|
||||
var shouldContinue bool
|
||||
defer func() {
|
||||
_, err = tx.Exec("RELEASE SAVEPOINT exec")
|
||||
_, errSave := tx.Exec("RELEASE SAVEPOINT exec")
|
||||
if err == nil {
|
||||
err = errSave
|
||||
}
|
||||
}()
|
||||
|
||||
if err = statement.Execute(tx, h.projection.Name()); err != nil {
|
||||
|
Reference in New Issue
Block a user