refactor: make DagRunner interface single-threaded

This commit is contained in:
TechnoPorg committed 2026-02-17 21:29:14 +01:00
1 parent d83a815ed0
commit e4fc0b0d44
25 files changed
+416 -617

No files matched your search

-10
View File
@@ -17,8 +17,6 @@ pub enum DagError {
TaskPanicked { task_id: u32, panic_message: String },
/// Result not found for task
ResultNotFound { task_id: u32 },
/// Attempted to run the DAG while it's already running
ConcurrentExecution,
}
impl std::fmt::Display for DagError {
@@ -65,14 +63,6 @@ impl std::fmt::Display for DagError {
task_id
)
}
DagError::ConcurrentExecution => {
write!(
f,
"DAG is already running - concurrent execution not supported.\n\
\n\
Wait for the current execution to complete before starting another."
)
}
}
}
}