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

one thread per connection problem #2

Open
jamken opened this issue Oct 2, 2015 · 0 comments
Open

one thread per connection problem #2

jamken opened this issue Oct 2, 2015 · 0 comments

Comments

@jamken
Copy link

jamken commented Oct 2, 2015

in your code for sqlite, create a new thread pool for each connection. But gevent's thread pool cannot be close by itself. so each time we create a new connection, a new thread pool and a OS thread would be created, and they never be free.
suggest, use a single thread pool for sqlite, not create a new one

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

1 participant