mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 10:12:18 +00:00
Trivial typo fix
This commit is contained in:
parent
1598184f74
commit
6eef1d5d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue