Extending sitecore built-in timeout for item deployement

prem murmu on 9/30/2020 3:13:25 PM

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

Changing the DeployItemTimeout setting


To get rid of this ,It can be extended  by changing the DeployItemTimeout setting.It will work with sitecore versions 10,9.x.

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 below patch file changes the DeployItemTImeout setting to 1 hour and 30 minutes:


 <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>


Reference:

sitecore docs

....


   5 Best hosting services with cheapest plans:

1. blueshost webhosting plan

2. interserver.net

3. GreenGeeks

4. Hostgator India

5. Namecheap

0 Comments on this post

Comments(0)||Login to Comments


InterServer Web Hosting and VPS
  • see more..