Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(knex): bump knex from 2.4.1 to 2.5.1 to resolve leaking db connections #3751

Conversation

iainsproat
Copy link
Contributor

@iainsproat iainsproat commented Dec 30, 2024

Description & motivation

Knex ^2.5.0 contains a fix for hanging connections when streams are prematurely closed: knex/knex#5243

This may be the source of the resource leak of database connections.

The changelogs for knex do not indicate any breaking changes.

Changes:

  • bumps knex from 2.4.1 to 2.5.1

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

  • My pull request follows the guidelines in the Contributing guide?
  • My pull request does not duplicate any other open Pull Requests for the same update/change?
  • My commits are related to the pull request and do not amend unrelated code or documentation.
  • My code follows a similar style to existing code.
  • I have added appropriate tests.
  • I have updated or added relevant documentation.

References

Copy link

linear bot commented Dec 30, 2024

Copy link
Contributor

📸 Preview service has generated an image.

@iainsproat iainsproat changed the title chore(deps): bump knex from 2.4.1 to 2.5.1 fix(knex): bump knex from 2.4.1 to 2.5.1 to resolve leaking db connections Dec 30, 2024
@iainsproat iainsproat marked this pull request as ready for review December 30, 2024 17:00
@iainsproat
Copy link
Contributor Author

Deployed to testing4

@iainsproat iainsproat merged commit da6dbb9 into main Jan 6, 2025
42 of 44 checks passed
@iainsproat iainsproat deleted the iain/web-1186-postgres-connections-in-objects-pod-should-not-be-leaked branch January 6, 2025 11:11
iainsproat added a commit that referenced this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants