Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Call enable_all() when building tokio runtime #4690

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Jan 20, 2020

Otherwise using tokio sockets or timers will panic.
Note that this doesn't affect Polkadot or node-template because they do Runtime::new instead of using a RuntimeBuilder.

@tomaka tomaka added the A0-please_review Pull request needs code review. label Jan 20, 2020
@bkchr bkchr merged commit cfbb24c into paritytech:master Jan 20, 2020
@tomaka tomaka deleted the enable-tokio-rt branch January 20, 2020 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants