-
Notifications
You must be signed in to change notification settings - Fork 286
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
Timeout issue when using with Bun #817
Comments
@porsager Kindly release new version to npm. or a beta version. |
You can install from github by using |
v3.4.4 released |
@porsager a new bug may have been introduced, now when calling |
please test with node and let me know if there's an issue. If there is only an issue with bun you need to file it in the bun repo. |
@porsager I'll see if I can reproduce with node, but at least on Bun this is definitely a regression between |
right, the "workaround" solving the previous bun error probably shouldn't have been made, and instead solved in bun instead 😅 So from now on I'm not taking bug reports from bun anymore 😜 Bun has stated "many" times, that things working in node should work in bun, and bug reports should go to the bun repo then. |
@porsager Bun 1.1.0 | PostgresJs 3.4.4 | drizzle-orm 0.30.6 |
You should go thumb up that issue on bun ;) oven-sh/bun#7325 |
The fix for this will land in Bun v1.1.7, which we aim to release in a few hours |
Hmm... the issue with not properly closing the connection for me is present even in Bun v1.1.8. Does it work for you @evelant? 🤔 |
I haven't tried it yet, sorry |
No worries, in case you have time, you could check so I can be sure that I'm not the only one 🙂 |
@wiesys I'm using Postgres.js 3.4.4 on Bun 1.1.8 and the issue is still present. |
@Jarred-Sumner Its still there. oven-sh/bun#7325 (comment) |
I created a simple http server with
http.createServer
, and query database when requests come:let rows = await sql.unsafe(query, args, { prepare: true })
After starting the server it works fine at beginning. But if do not send request after a while (maybe 1+ hour), then send request again, got query timeout:
This issue only occurs on Bun, not on Node.(I've tested both)
The text was updated successfully, but these errors were encountered: