This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Replace async-std with tokio in PVF subsystem #6419
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ec204fa
Replace async-std with tokio in PVF subsystem
mrcnski 3abc804
Rework workers to use `select!` instead of a mutex
mrcnski 5fcc67d
Remove unnecessary `fuse`
mrcnski 1574561
Merge branch 'master' into m-cat/replace-async-std-pvf
mrcnski 451fae0
Add explanation for `expect()`
mrcnski fc4c28b
Update node/core/pvf/src/worker_common.rs
mrcnski 1dde78b
Update node/core/pvf/src/worker_common.rs
mrcnski da31a48
Address some review comments
mrcnski 35a0c79
Merge remote-tracking branch 'origin/m-cat/replace-async-std-pvf' int…
mrcnski e1c2cf3
Shutdown tokio runtime
mrcnski 077a123
Run cargo fmt
mrcnski e0d4b9e
Add a small note about retries
mrcnski 2353747
Merge branch 'master' into m-cat/replace-async-std-pvf
mrcnski 28d4062
Fix up merge
mrcnski 3964aca
Rework `cpu_time_monitor_loop` to return when other thread finishes
mrcnski 7057518
Add error string to PrepareError::IoErr variant
mrcnski e6ba098
Log when artifacts fail to prepare
mrcnski e094f80
Fix `cpu_time_monitor_loop`; fix test
mrcnski c09377a
Fix text
mrcnski 05d1865
Fix a couple of potential minor data races.
mrcnski b0c2434
Merge branch 'master' into m-cat/replace-async-std-pvf
mrcnski 5cc477c
Merge branch 'master' into m-cat/replace-async-std-pvf
mrcnski 0f4ac06
Update Cargo.lock
mrcnski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this because
UnixStream
intokio
doesn't implementClone
, and I couldn't figure out how to get the stream to stick around here without a really big refactor (or a mutex). After spending an hour on this I just gave up, but it's fine becauseshutdown
here was added merely as a courtesy call and shouldn't be necessary. Worst case scenario, the host doesn't get the signal and just waits and times out.