mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore: add span and log to runtime build (#22064)
This commit is contained in:
@@ -793,7 +793,9 @@ impl RuntimeBuilder {
|
||||
/// The [`TaskManager`] is automatically spawned as a background task that monitors
|
||||
/// critical tasks for panics. Use [`Runtime::take_task_manager_handle`] to extract
|
||||
/// the join handle if you need to poll for panic errors.
|
||||
#[tracing::instrument(level = "debug", skip_all)]
|
||||
pub fn build(self) -> Result<Runtime, RuntimeBuildError> {
|
||||
debug!(?self.config, "Building runtime");
|
||||
let config = self.config;
|
||||
|
||||
let (owned_runtime, handle) = match &config.tokio {
|
||||
|
||||
Reference in New Issue
Block a user