-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
penumbra: remove
Builder
factory (#4169)
## Describe your changes We use named tasks in `pd` and `cnidarium` via `tokio::task::Builder`. This is a great feature that improves `tokio-console` rendering and has proved valuable in the past. However, since tracing integration in tokio is still unstable, using this requires a special cargo configuration to run rustc with a special `tokio_unstable` flag. We have received a lot of direct feedback that this is 1/ surprising 2/ cumbersome, and since it seem like there are no immediate plans to stabilize tracing in tokio, we are removing it for now. ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > Internal only.
- Loading branch information
Showing
5 changed files
with
165 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[build] | ||
# Enable Tokio's `tracing` support for `tokio-console` | ||
rustflags = ["--cfg", "tokio_unstable"] | ||
# rustflags = ["--cfg", "tokio_unstable"] | ||
# Note(erwan): We decided to disable it for the time being, | ||
# I'm keeping this around to be able to reactivate it on a whim. |
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.