Skip to content

docs(pg.Pool): describe maxLifetimeSeconds config option #3484

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

birjj
Copy link
Contributor

@birjj birjj commented Jun 10, 2025

The official pg.Pool page doesn't describe the maxLifetimeSeconds option, which is nonetheless supported by the code, and present in the @types/pg package (it was added in #2698 all the way back in 2022). The lack of documentation makes it slightly difficult to discover the option.

The wording I've used was taken from #3298 (comment). Feel free to change it if you're not happy with it.

@birjj birjj changed the title docs: add maxLifetimeSeconds to Pool docs docs(pg.Pool): describe maxLifetimeSeconds config option Jun 10, 2025
@brianc
Copy link
Owner

brianc commented Jun 12, 2025

thanks for updating the docs! always super useful!

@brianc brianc merged commit 0ada72e into brianc:master Jun 12, 2025
7 checks passed
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.

2 participants