fix: clippy lint due to tracing-only code

This commit is contained in:
swaits committed 2025-10-08 12:19:27 -07:00
1 parent 9290eccd86
commit 47620b6702
1 file changed
+1 -10
+1 -10
View File
@@ -360,19 +360,10 @@ impl DagRunner {
Result<std::sync::Arc<dyn std::any::Any + Send + Sync>, DagError>, Result<std::sync::Arc<dyn std::any::Any + Send + Sync>, DagError>,
)>(); )>();
// Execute layer by layer
#[cfg(feature = "tracing")]
let mut layer_idx = 0;
for layer in layers { for layer in layers {
#[cfg(feature = "tracing")] #[cfg(feature = "tracing")]
{ {
debug!( debug!(task_count = layer.len(), "executing layer");
layer = layer_idx,
task_count = layer.len(),
"executing layer"
);
layer_idx += 1;
} }
// ============================================================================ // ============================================================================
// PERFORMANCE OPTIMIZATION: Inline execution for single-task layers // PERFORMANCE OPTIMIZATION: Inline execution for single-task layers