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

MYSQL connections #2

Open
dkikalis opened this issue Sep 7, 2018 · 2 comments
Open

MYSQL connections #2

dkikalis opened this issue Sep 7, 2018 · 2 comments

Comments

@dkikalis
Copy link

dkikalis commented Sep 7, 2018

Hello,
If I use node-red-node-mysql to connect to a database the lambda returns the data as expected but the lambda stays running until the maximum execution time expires or the connection drops. This could be quite expensive as I need quite a large lambda to get the required performance. Have you got any tips?

@sakazuki
Copy link
Owner

sakazuki commented Sep 7, 2018

Hello,
It looks the cause that mysql module uses event loop. Lambda waits for empty event loop.
See detail about context.callbackWaitsForEmptyEventLoop
Refs:

Regards,

@mannharleen
Copy link

this seems to have been resoled? can be closed?

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