Skip to content

Commit

Permalink
Trivial typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift authored and acaloiaro committed Dec 3, 2023
1 parent 1598184 commit 6eef1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/postgres/postgres_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ func (p *PgBackend) getPendingJobID(ctx context.Context, conn *pgxpool.Conn, que

// acquire acquires connections from the connection pool with a timeout
//
// the purpose of this function is to skirt pgxpool's default blocking behavior with connection acquisition preemtion
// the purpose of this function is to skirt pgxpool's default blocking behavior with connection acquisition preemption
func (p *PgBackend) acquire(ctx context.Context) (conn *pgxpool.Conn, err error) {
ctx, cancelFunc := context.WithDeadline(ctx, time.Now().Add(p.config.PGConnectionTimeout))
defer cancelFunc()
Expand Down

0 comments on commit 6eef1d5

Please sign in to comment.