make sure to use 60 seconds timeout for PutWorkflowVersion (#3085)

This commit is contained in:
Mohammed Nafees
2026-02-23 16:20:31 +01:00
committed by GitHub
parent 47f34f2587
commit 44069cef89

View File

@@ -284,7 +284,7 @@ func (r *workflowRepository) PutWorkflowVersion(ctx context.Context, tenantId uu
return nil, err
}
tx, commit, rollback, err := sqlchelpers.PrepareTx(ctx, r.pool, r.l)
tx, commit, rollback, err := sqlchelpers.PrepareTxWithStatementTimeout(ctx, r.pool, r.l, 60000)
if err != nil {
return nil, err