fix: clippy lint due to tracing-only code
This commit is contained in:
1 file changed
+1
-10
+1
-10
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user