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

Refactoring DataBase #22

Closed
EndrII opened this issue Mar 25, 2021 · 0 comments · Fixed by #56
Closed

Refactoring DataBase #22

EndrII opened this issue Mar 25, 2021 · 0 comments · Fixed by #56
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@EndrII
Copy link
Member

EndrII commented Mar 25, 2021

In the current time database works with only one connection in the own thread.
This is very slow because node work wtih multiple threads and each thread try read or write some data into database.
So in result all threads push into queue of the database worker.

We need to create a one db connection for each work thread.

@EndrII EndrII added bug Something isn't working enhancement New feature or request labels Mar 25, 2021
@EndrII EndrII self-assigned this Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant