Extend the item deployment timeout


How to extend Sitecore's built-in 30 second timeout for item deployment.

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:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
        <processor type="Sitecore.Marketing.xMgmt.Pipelines.DeployDefinition.Deploy, Sitecore.Marketing.xMgmt" resolve="true">