Refactor Pool
See original GitHub issueTo land #45 I had to disable Pool tests, rendering it unusable. Refactor has to be done to Pool, some initial thoughts:
- rename
PooledClienttoPoolClient Poolcan be constructed from DSN- pool connection can be created lazily
- size is optional default to 10
- add
Pool.transactionhelper that wrapsPool.queryin transaction
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Refactor Pool and Remote Replication | TrueNAS Community
I want to refactor each vdev from Z1 to Z2; A friend has plenty of spare capacity on his Z2 pool on a...
Read more >[Refactor] Go Worker Pool — A way around to the sync package
[Refactor] Go Worker Pool — A way around to the sync package. Synchronize worker executions by using Semaphore pattern instead of sync.WaitGroup ...
Read more >just C++ - pool refactoring - YouTube
Refactoring the pool class from last episode into a new template and a class which uses this new pool template.
Read more >Object Pool Design Pattern - SourceMaking
The general idea for the Connection Pool pattern is that if instances of a class can be reused, you avoid creating instances of...
Read more >perf: (pool): Refactor pool staking calls · pancakeswap/pancake ...
pancakes: Pancake main features (farms, pools, IFO, lottery, profiles) - perf: (pool): Refactor pool staking calls · pancakeswap/pancake-frontend@6400a7c.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ideally this lib would look like node-postgres as much as possible to aid transitions.
Looking again, and rereading the issue, I don’t think the pool tests are disabled.