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

Per-document transactions #16

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

raineorshine
Copy link
Contributor

@raineorshine raineorshine commented Jul 4, 2023

As described in the source, _transact can be changed to lock transactions per-room. Currently it makes all transactions blocking, regardless of room. This PR adds a Map for per-document transaction blocking.

The tests all pass, but currently I'm getting [ReadError]: Database is not open in a real-world app. I'm not sure what I'm doing wrong, but maybe you can spot the issue.

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.

1 participant