Taskmanager: Remove `clean_shutdown` (#10314)
There is no reason for this function, tokio already blocks automatically until all tasks are ended. Another reason to remove this feature is `mpsc_background_tasks` unbounded channel. Recently this channel was reporting too many unprocessed elements. We assume that this was a result of a lot of very shot lived tasks that somehow flooded this channel.
Showing
- substrate/client/cli/src/runner.rs 1 addition, 2 deletionssubstrate/client/cli/src/runner.rs
- substrate/client/service/src/task_manager/mod.rs 12 additions, 71 deletionssubstrate/client/service/src/task_manager/mod.rs
- substrate/client/service/src/task_manager/tests.rs 127 additions, 189 deletionssubstrate/client/service/src/task_manager/tests.rs
- substrate/test-utils/test-runner/src/node.rs 0 additions, 2 deletionssubstrate/test-utils/test-runner/src/node.rs
Please register or sign in to comment