Skip to content

Commit

Permalink
Wire up tx
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Feb 10, 2025
1 parent 3902b75 commit e42bbc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/tx/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ func (q *Queue) Insert(ctx context.Context, jobs ...Job) error {
Expiration: now.Add(defaultExpiration),
}

q.txStore.AddTx(ctx, tx)

return nil
return q.txStore.AddTx(ctx, tx)
}

func (q *Queue) List() []Tx {
Expand Down

0 comments on commit e42bbc3

Please sign in to comment.