-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: forester: use handles when spawning queues (#1148)
* Refactor epoch processing to use task handles Replace individual task spawning with a vector of `JoinHandle` to manage concurrent tasks more efficiently. Use `join_all` to wait for all tasks to finish and handle errors appropriately. * Refactor import statements Rearranged the import of `join_all` for better organization and removed an unnecessary comma. * Remove redundant clone call in process_queue
- Loading branch information
1 parent
284133b
commit 77e5760
Showing
1 changed file
with
28 additions
and
14 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