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

node jdbc blocking the event loop till the query is done #194

Open
theterra opened this issue Feb 14, 2019 · 4 comments
Open

node jdbc blocking the event loop till the query is done #194

theterra opened this issue Feb 14, 2019 · 4 comments

Comments

@theterra
Copy link

node jdbc blocking the event loop until the query is done.
Help

@theterra theterra changed the title node jdbc blocking the event loop until the query is done node jdbc blocking the event loop till the query is done Feb 14, 2019
@vahidrahmani
Copy link

use jdb.conn.close() when response delyed or fail your request

@theterra
Copy link
Author

theterra commented Mar 6, 2019

@vahidrahmani Example please?
Is it possible to use async?

@Tomas2D
Copy link

Tomas2D commented Apr 2, 2022

@vahidrahmani @theterra I think that is not possible, if event loop is blocked, that simple means that call stack is not empty and thus setInterval or setTimeout wont work..

@Tomas2D
Copy link

Tomas2D commented Apr 2, 2022

I solved that issue by switching to https://github.com/naxmefy/node-jdbc

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

3 participants