-
Notifications
You must be signed in to change notification settings - Fork 409
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
Set default pool_max_conns
to 20 for PostgreSQL
#1852
Set default pool_max_conns
to 20 for PostgreSQL
#1852
Conversation
pool_max_conns
to 20 for PostgreSQL
Why not do that in FerretDB/internal/handlers/pg/pgdb/pool.go Lines 55 to 60 in d479051
|
@AlekSi I assumed that like setting user + password |
Here we only use per-connection username and password. All other parameters, like host, port, and all query parameters are the same. |
What about setting it in the NewOpts constructor? |
Well, that's possible, but I really don't see a problem in using |
…ub.com:jkoenig134/FerretDB into Set-default-pool_max_conns-for-PostgreSQL-1844
Head branch was pushed to by a user without write access
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1852 +/- ##
==========================================
+ Coverage 69.99% 70.02% +0.03%
==========================================
Files 309 309
Lines 15197 15203 +6
==========================================
+ Hits 10637 10646 +9
Misses 3590 3590
+ Partials 970 967 -3
Flags with carried forward coverage won't be shown. Click here to find out more. |
Thank you! |
Description
Closes #1844
Readiness checklist
task all
, and it passed.@FerretDB/core
), Assignee, Labels, Project and project's Sprint fields.