Skip to content

Commit

Permalink
Call Get on SignalExternalWorkflow, maybe issue is immediate Continue…
Browse files Browse the repository at this point in the history
…AsNew
  • Loading branch information
serprex committed Feb 23, 2024
1 parent e655f5e commit 0e862d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions flow/workflows/normalize_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,16 @@ func NormalizeFlowWorkflow(
}

if !peerdbenv.PeerDBEnableParallelSyncNormalize() {
model.NormalizeDoneSignal.SignalExternalWorkflow(
err := model.NormalizeDoneSignal.SignalExternalWorkflow(
ctx,
parent.ID,
"",
struct{}{},
)
).Get(ctx, nil)
if err != nil {
logger.Error("Failed to signal completion", slog.Any("error", err))
return err
}
}

state.Wait = true
Expand Down

0 comments on commit 0e862d3

Please sign in to comment.