Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed unresolved promise in cancelQuery(..) ... (#3666)
cancelQuery(..) was attempting to "cancel the cancellation" after 100ms. However, it was not actually achieving this objective. In reality, the cancellation was still running in the background even though the caller had already moved on. Later on, the cancellation would ACTUALLY fail due to a resource allocation issue (ie: no more connections in the Tarn pool). This would then result in an unhandled Promise rejection.
- Loading branch information
31e5418
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@briandamaged Btw, if you would ever become interested in joining the glorious ranks of knex maintainers, I'd be honoured to invite you in, you really know your stuff :)
31e5418
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kibertoad : Thx! I probably take you up on that offer in another week or two. I'd like to tackle a few more smaller merge requests first to make sure I have a better understanding of the "big picture" around Knex.
31e5418
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kibertoad : I might take you up on "Becoming a maintainer" if the offer is still open.