874
}
875
876
>
maxPageSize := int32(e.config.HistoryMaxPageSize(task.namespace.String()))
matching_engine.go
877
>
resp, err := e.historyClient.GetWorkflowExecutionHistory(ctx,
878
>
&historyservice.GetWorkflowExecutionHistoryRequest{
879
>
NamespaceId: nsID.String(),
880
>
Request: &workflowservice.GetWorkflowExecutionHistoryRequest{
881
>
Namespace: task.namespace.String(),
882
>
Execution: task.workflowExecution(),
883
>
MaximumPageSize: maxPageSize,
884
>
WaitNewEvent: false,
885
>
SkipArchival: true,
886
>
},
887
>
})
888
>
if err != nil {
889
return nil, nil, err
890
}