How much time will GetWorkflowExecutionHistory usually take?

Hi Team, GetWorkflowExecutionHistoryRequest is timing out for us after 15 seconds in our envoy layer. We wanted to know if there is upper limit on how long GetWorkflowExecutionHistoryRequest will take so that we can configure our timeout accordingly.

Also when we want to call GetWorkflowExecutionHistory, can we set a timeout value for the same using temporal sdk?

There are two modes for GetWorkflowExecutionHistory. The first one returns immediately after returning a page of events. The second can block up to a minute if there are no events. The second one is used to wait for a workflow result efficiently. So make sure to increase the timeout for this call to at least 61 seconds.

Thanks for the response. @maxim will this time depends on which sdk we are using? Is that something configurable?

This is not SDK-specific. You could configure it through the service dynamic config, but we don’t recommend changing this configuration.

1 Like