# How much time will GetWorkflowExecutionHistory usually take?

**URL:** <https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099>\
**Category:** Community Support\
**Created:** [November 11, 2024, 4:27pm UTC](https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099 "2024-11-11T16:27:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavithra\_M](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Pavithra\_M](https://community.temporal.io/u/Pavithra_M)\
**Post date:** [November 11, 2024, 4:27pm UTC](https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099/1 "2024-11-11T16:27:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [November 12, 2024, 5:40pm UTC](https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099/2 "2024-11-12T17:40:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Pavithra\_M](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Pavithra\_M](https://community.temporal.io/u/Pavithra_M)\
**Post date:** [November 13, 2024, 1:48am UTC](https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099/3 "2024-11-13T01:48:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [November 13, 2024, 3:17am UTC](https://community.temporal.io/t/how-much-time-will-getworkflowexecutionhistory-usually-take/15099/4 "2024-11-13T03:17:19Z")

</div>

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