Skip to content

Commit

Permalink
Eek
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdy committed Dec 11, 2023
1 parent 7fbdd0a commit 425614c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zerostash-fuse/src/mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl OpenFileHandle {
commit_queue,
};

tokio::spawn(ingester.start())
parent.runtime.spawn(ingester.start())
};

let commit_task = {
Expand All @@ -162,12 +162,12 @@ impl OpenFileHandle {
reader: parent.stash.storage_reader().unwrap(),
hasher: parent.stash.hasher().unwrap(),
};
tokio::spawn(committer.start())
parent.runtime.spawn(committer.start())
};

Some({
let entry = shared_entry.clone(Ordering::Relaxed, &Guard::new());
tokio::spawn(async move {
parent.runtime.spawn(async move {
_ = tokio::join!(merger_task, commit_task);
entry
})
Expand Down

0 comments on commit 425614c

Please sign in to comment.