This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Move spawning tasks from thread pools to Service's TaskManager for block importing #5647
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
037989c
Move tasks from tx pool to Service for basic_queue
894c74f
Add spawner to tests
b8fae5d
Update tests
05c6c6e
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
5ae2652
Change usage of TaskManagerBuilder to TaskManager
f51dc2b
Renove dbg!
225e6c1
Revert exposing TaskManager in public API
5b9975e
Move client and import queue inside the import closure
58351b6
Move client inside the export closure
0edfdce
Move comments outside of closure
13e0f23
Add spawn_blocking method to SpawnTaskHandle; WIP
7dc8aa9
Use futures::executor::block_on instead of || wrapping the future
786811c
Add comments to code
pscott b891cbe
Remove useless block on task_executor declaration
ddd28a1
Add spawn_inner private function
497c540
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
a69a69f
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
e347a80
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
1abcf8c
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
2ac200d
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
3857f7a
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
1989c75
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
7b9f700
Add Send to block_announce_validator_builder
c93ecf2
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
e7ef065
Merge branch 'master' of github.com:paritytech/substrate into scott_m…
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.