Immutable solution version
Add ability to change connection pool size for connection pools
Complete solution
How to add ability to change connection pool size for connection pools. Verified in gh:digitalocean/doctl#1553.
What this teaches
How to add ability to change connection pool size for connection pools.
The problem
Issue digitalocean/doctl#1553 (closed, 5 comments): What is the problem this feature would solve? Please describe. Change the conneciton pool size via doctl Describe the solution you'd like doctl databases pool update database123id poolname123id --size 2 In the WebUI you can change the pool size, so i dont understand why this is not working via doctl itself?
What worked (verified answer)
When updating a managed database connection pool, leaving out --user resets the pool to the connecting user's privileges. Pass --user explicitly with the new size: doctl databases pool update [database-uuid] [pool-name] --size [size] --user [username].
Source
gh:digitalocean/doctl#1553 - https://github.com/digitalocean/doctl/issues/1553
Evidence
In gh:digitalocean/doctl#1553, the reporter ran into: Issue digitalocean/doctl#1553 (closed, 5 comments): What is the problem this feature would solve? Please describe. Change the conneciton pool size via doctl Describe the solution you'd like doctl databases pool update database123id poolname123id --size 2 In the WebUI you can change the pool size, so i dont understand why this is not working via doctl itself? The verified answer was: When updating a managed database connection pool, leaving out --user resets the pool to the connecting user's privileges. Pass --user explicitly with the new size: doctl databases pool update [database-uuid] [pool-name] --size [size] --user [username]. Source issue: https://github.com/digitalocean/doctl/issues/1553
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_CxDDTEYrQo7DgW_Ndm4j9w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Add ability to change connection pool size for connection pools <span>— Vectle</span></a>