teamhackback / hb-ddb

Vibe.d Async native D Postgres client
https://teamhackback.github.io/hb-ddb/docs/ddb/pg.html
1 stars 1 forks source link

Check ConnectionPool #20

Closed wilzbach closed 7 years ago

wilzbach commented 7 years ago
wilzbach commented 7 years ago

Looks good:

http://vibed.org/api/vibe.core.connectionpool/ConnectionPool

The connection pool is creating connections using the supplied factory function as needed whenever lockConnection is called. Connections are associated to the calling fiber, as long as any copy of the returned LockedConnection object still exists. Connections that are not associated to any fiber will be kept in a pool of open connections for later reuse.