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

Too many connections created during the startup of hacker-news example with custom read-models enabled #2123

Closed
FreeSlave opened this issue Nov 15, 2021 · 0 comments · Fixed by #2208
Assignees
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: minor Issues with low impact on the product, e.g., small improvements or imperfections

Comments

@FreeSlave
Copy link
Contributor

I've made a branch where the number of created connections is printed - https://github.com/reimagined/resolve/tree/connection-number-dont-merge
It appears during the startup of hacker-news example there are many connections made (up to 70).
You can check it yourself by running

DEBUG_LEVEL=debug DEBUG='resolve:event-store-sqlite:*,resolve:read-model-sqlite:*' yarn dev

That happens due to the presense of custom read-models. The number of connections decreases drastically when we disable Search read-model in config.

@FreeSlave FreeSlave added the severity: minor Issues with low impact on the product, e.g., small improvements or imperfections label Nov 15, 2021
@MrCheater MrCheater added the bug Issues related to defects and incorrect/unexpected feature behavior label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: minor Issues with low impact on the product, e.g., small improvements or imperfections
Projects
None yet
3 participants