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

Make HistoryService methods async #140

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

progval
Copy link
Collaborator

@progval progval commented Oct 20, 2024

We are going to need that for the PostgreSQL implementation

We are going to need that for the PostgreSQL implementation
So they can be held across await points.

This required replacing the implementation of HistoryService for
NetworkHistoryLog with an implementation on a (wrapper of) NetworkNode,
so that callers do not need to hold a lock on the NetworkNode themselves
across await points.
@progval progval force-pushed the async-history-service branch from 145f371 to 40b8d10 Compare October 26, 2024 06:42
@progval progval marked this pull request as ready for review October 26, 2024 06:54
@spb spb merged commit c9341c6 into Libera-Chat:master Oct 26, 2024
2 checks passed
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