Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this project dead? #61

Open
ermamud opened this issue May 27, 2020 · 7 comments
Open

Is this project dead? #61

ermamud opened this issue May 27, 2020 · 7 comments

Comments

@ermamud
Copy link

ermamud commented May 27, 2020

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

@matispf84
Copy link

I think it’s definitely dead...

@700software
Copy link

700software commented Dec 7, 2020

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

@700software
Copy link

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

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

@WafiqSalie
Copy link

Any alternatives for connection pooling ?

@clshortfuse
Copy link

clshortfuse commented Dec 16, 2021

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.

@700software
Copy link

700software commented Dec 16, 2021

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

@tobiasheldring
Copy link

tobiasheldring commented Nov 25, 2022

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants