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

Trace: Error 1040: Too many connections #4

Open
youmisun opened this issue Jun 10, 2018 · 1 comment
Open

Trace: Error 1040: Too many connections #4

youmisun opened this issue Jun 10, 2018 · 1 comment

Comments

@youmisun
Copy link

db connection is not close when the request was handled.

@weex
Copy link

weex commented Jul 30, 2018

The code is creating lots of independent DB sessions instead of making one and using it everywhere. Likely fix is to instantiate once and then use throughout the app.

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