feat: save run logs when each workflow node completed

This commit is contained in:
Fu Diwei
2025-02-10 16:12:12 +08:00
parent 4f5c1dc6d7
commit cbf711ee60
8 changed files with 40 additions and 22 deletions

View File

@@ -23,6 +23,7 @@ var (
)
func GetSingletonDispatcher(workflowRepo workflowRepository, workflowRunRepo workflowRunRepository) *WorkflowDispatcher {
// TODO: 待优化构造过程
intanceOnce.Do(func() {
instance = newWorkflowDispatcher(workflowRepo, workflowRunRepo)
})