mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-20 19:50:47 -05:00
make sure to use 60 seconds timeout for PutWorkflowVersion (#3085)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user