Merge ~blake-rouse/maas:lower-max-conns-per-worker-2.2 into maas:2.2
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | 37a8a6263f297a07d121cd527a8361956e516226 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~blake-rouse/maas:lower-max-conns-per-worker-2.2 |
Merge into: | maas:2.2 |
Diff against target: |
20 lines (+8/-1) 1 file modified
src/maasserver/utils/threads.py (+8/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+327129@code.launchpad.net |
Commit message
Backport #1703403: Lower the maximum number of connections per worker to 9 connections is allowed as 1 is reserved for the .
Allowing each worker to have a maximum of 10 connections open at a time. A region controller with 4 workers will use a maximum of 40 connections. This allows 2 region controllers to run without needing to increase the maximum number of PostgreSQL connection (default is 100 connections).
To post a comment you must log in.
Self-approving backport.