Skip to content

Pgxpool, how to set Max Idle Connections setMaxIdleConns()? #1640

Answered by jackc
arkmech asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, do you plan on adding MaxIdleConns in the future?

I have no plans personally to add it. But I'm not particularly against the feature if someone else wants to build it.

MaxIdleConns and MaxConnIdleTime are different parameters (not synonymous).

True, but the goal of avoiding too many idle connections existing for too long can still be achieved.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@arkmech
Comment options

@jackc
Comment options

Answer selected by arkmech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants