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

refactor(iroh-sync): remove generic from SyncEngine #1648

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

Frando
Copy link
Member

@Frando Frando commented Oct 17, 2023

Description

With #1612 we moved all operations on replicas into a dedicated actor, with all communication happening over a channel. A nice consequence of this is that the iroh-sync store only lives in the actor thread, and therefore we don't need a generic on the SyncEngine and the Node anymore. This PR removes the generic.

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

@Frando Frando enabled auto-merge October 17, 2023 10:21
@Frando Frando added this pull request to the merge queue Oct 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 17, 2023
@Frando Frando added this pull request to the merge queue Oct 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 17, 2023
@Frando Frando added this pull request to the merge queue Oct 17, 2023
Merged via the queue into main with commit 53b0bb0 Oct 17, 2023
dignifiedquire pushed a commit that referenced this pull request Oct 18, 2023
## Description

With #1612 we moved all operations on replicas into a dedicated actor,
with all communication happening over a channel. A nice consequence of
this is that the iroh-sync store only lives in the actor thread, and
therefore we don't need a generic on the `SyncEngine` and the `Node`
anymore. This PR removes the generic.

## Change checklist

- [x] Self-review.
- [x] Documentation updates if relevant.
- [x] Tests if relevant.
@b5 b5 added this to the v0.8.0 milestone Oct 19, 2023
@dignifiedquire dignifiedquire deleted the sync-engine-remove-generic branch November 1, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants