Extend the item deployment timeout

Current version: 10.2

Sitecore has a 30 second built-in timeout for deploying items. If your item deployment takes longer than this, Sitecore stops the deployment and shows you an error message depending on the item type.

You can extend the timeout by changing the DeployItemTimeout setting.

To change the setting, create a patch file in the /App_Config/Include/ folder with the new DeployItemTimeout value that you want. For example, the following patch file changes the DeployItemTImeout setting to 1 minute and 30 seconds:

RequestResponse
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <pipelines>
      <deployDefinition>
        <processor type="Sitecore.Marketing.xMgmt.Pipelines.DeployDefinition.Deploy, Sitecore.Marketing.xMgmt" resolve="true">
          <DeployItemTimeout>00:01:30</DeployItemTimeout>
        </processor>
      </deployDefinition>
    </pipelines>
  </sitecore>
</configuration>

Do you have some feedback for us?

If you have suggestions for improving this article,