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 connection takes long time #99

Closed
rabigautam opened this issue Jul 1, 2021 · 3 comments
Closed

Is connection takes long time #99

rabigautam opened this issue Jul 1, 2021 · 3 comments

Comments

@rabigautam
Copy link

when I do db.query it takes long time at first (don't know just predicted )and after that hit it gives result within short time
and after some gap if again the db.query triggered then it takes some time as previous why?

@ffxsam
Copy link
Collaborator

ffxsam commented Jul 1, 2021

Most likely nothing to do with this library. Are you using Aurora Serverless? It sounds like maybe you have auto-pause enabled, and the database is spun down. So your first query spins it up (can take 20 seconds or so), then the subsequent queries are faster.

@rabigautam
Copy link
Author

Thank you for the information. Yeah I have used aurora Serverless .So, not to spun down I need to disable autoPase providing duration 0 yeah

@rabigautam
Copy link
Author

not an issue

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

2 participants