Fix for exception "Neither Store nor Delete are called for the state of the current flow" with parallel requests
This commit is contained in:
parent
aa5eb4371c
commit
ab03b38e6c
@ -25,6 +25,9 @@ namespace Tapeti.Flow.Default
|
||||
await CallConvergeMethod(context,
|
||||
flowContext.ContinuationMetadata.ConvergeMethodName,
|
||||
flowContext.ContinuationMetadata.ConvergeMethodSync);
|
||||
else if (flowContext.FlowState.Continuations.Count > 0)
|
||||
// This is a parallel flow waiting for other continuations, always store the state
|
||||
await flowContext.Store();
|
||||
}
|
||||
else
|
||||
await next();
|
||||
|
Loading…
Reference in New Issue
Block a user