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

SCP-3445: fix chain index blocking #386

Merged
merged 13 commits into from
Apr 5, 2022
Merged

Conversation

ghost
Copy link

@ghost ghost commented Apr 1, 2022

  • Adds a connection pool for sqlite
  • Reduces the scope of takeMVar blocking.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@ghost ghost force-pushed the chain-index-fix-blocking branch from 415cb4e to c4f1488 Compare April 1, 2022 11:53
Copy link
Contributor

@sjoerdvisscher sjoerdvisscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so that's how to do it! Thanks for figuring this out.

@ghost ghost requested a review from koslambrou April 5, 2022 16:49
@koslambrou koslambrou merged commit e4062bc into main Apr 5, 2022
@koslambrou koslambrou deleted the chain-index-fix-blocking branch April 5, 2022 16:50
bwbush pushed a commit that referenced this pull request Apr 15, 2022
* [chain-index]: replace chain index state's MVar with TVar

* [chain-index]: add sqlite connection pool
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

Successfully merging this pull request may close these issues.

2 participants