Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from dntj/master
Browse files Browse the repository at this point in the history
Add a missing conn release to avoid deadlock
  • Loading branch information
bgentry committed Feb 8, 2018
2 parents 86268bb + 2a31b09 commit 04623be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions que.go
Expand Up @@ -278,6 +278,7 @@ func (c *Client) LockJob(queue string) (*Job, error) {
return nil, err
}
}
c.pool.Release(conn)
return nil, ErrAgain
}

Expand Down

0 comments on commit 04623be

Please sign in to comment.