Skip to content

Commit

Permalink
PublishPage: Try breaking lock with ReadUncommitted? (#364) (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Apr 10, 2024
1 parent 4614efc commit e986855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/almanack/service-page.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (svc Services) PublishPage(ctx context.Context, page *db.Page) (err, warnin
err = flowmatic.Do(
func() error {
return svc.Tx.Begin(ctx, pgx.TxOptions{
IsoLevel: pgx.Serializable,
IsoLevel: pgx.ReadUncommitted,
}, func(txq *db.Queries) (txerr error) {
defer errorx.Trace(&txerr)

Expand Down

0 comments on commit e986855

Please sign in to comment.