This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/sealer accepts just what it needs (#55)
* refactor(store): move store out of sealer thread * refactor(threading): move all mutable state into scheduler thread * refactor(naming): prefix task with consumer name * refactor(channels): remove channels from SectorMetadataManager * refactor(extract): move metadata manager into separate file * refactor(dig): use impl AsRef<Path> as per PR feedback * refactor(dig): move SectorBuilderState construction into method * refactor(dig): import at top level * fix(rebase): change constant names to reflect new API
- Loading branch information
Showing
15 changed files
with
769 additions
and
692 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pub const NUM_SEAL_WORKERS: usize = 2; | ||
pub const NUM_WORKERS: usize = 2; | ||
|
||
pub const FATAL_NOSEND_TASK: &str = "[run_blocking] could not send"; | ||
pub const FATAL_NORECV_TASK: &str = "[run_blocking] could not recv"; |
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
Oops, something went wrong.