Skip to content

Commit

Permalink
- [chg]prevent the logger from blocking subsequent execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
vistart committed Feb 2, 2024
1 parent 7c66d97 commit 7fd9190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/simple/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (d *Loggers) Log(ctx context.Context, events ...LogEventInterface) {
if logger == nil {
continue
}
logger.Log(ctx, events...)
go logger.Log(ctx, events...) // prevent the logger from blocking subsequent execution.
}
}

Expand Down

0 comments on commit 7fd9190

Please sign in to comment.