tedious-connection-pool icon indicating copy to clipboard operation
tedious-connection-pool copied to clipboard

Is this project dead?

Open ermamud opened this issue 5 years ago β€’ 7 comments
trafficstars

Hi, has this project been abandoned? latest commits were in 2018 and it is not even compatible with latest version of tedious.

ermamud avatar May 27 '20 16:05 ermamud

I think it’s definitely dead...

matispf84 avatar Jun 06 '20 16:06 matispf84

If I have time I'm accepting PRs to an tediousconnectionpool2 fork

700software avatar Dec 07 '20 23:12 700software

I'm accepting PRs to https://github.com/700software/tedious-connection-pool2

So it's slightly less dead than it once was.

700software avatar Jan 11 '21 20:01 700software

Any alternatives for connection pooling ?

WafiqSalie avatar Dec 03 '21 08:12 WafiqSalie

I've been using this for years:

https://gist.github.com/clshortfuse/33447c2b731531ecf5a7a224f649e818

let tediousPool = new TediousPool(sqlConfig);
await tediousPool.start();
tediousPool.getConnection((connection) => new Promise((resolve, reject) => {
 // Code goes here

It's a little wonky, in retrospect, but it'll automatically release the connection when the promise inside getConnection(promise) gets resolved. I might clean it up a bit more.

clshortfuse avatar Dec 16 '21 14:12 clshortfuse

Feel free to contribute to https://github.com/700software/tedious-connection-pool2

I've used tedious-connection-pool2 personally with no issues.

I have one PR to merge which I plan to soon. πŸ‘€ I've been swamped at work.. βœ” done

700software avatar Dec 16 '21 15:12 700software

For others finding their way to this dead end, I can recommend going with a generic pool implementation like eg. https://github.com/coopernurse/node-pool. Well supported, promise based and with type definitions πŸ‘

tobiasheldring avatar Nov 25 '22 14:11 tobiasheldring