Increase Macro Timeout limit in web config

Louis Bentley asked on December 1, 2021 06:09

In portal engine, I am currently experiencing the macro resolver time out issue due to macro time out. My code is fully optimized but anyhow i need to increase the timeout. I want to put generic timeout in web.config for macros instead of putting into after each macro codes. I didn't find any way to configure on CMS. Is there any way to put the macro timeout in web config then it would be a great help.

Recent Answers


vasu yerramsetti answered on December 1, 2021 15:04 (last edited on December 1, 2021 15:05)

We don't have any macro time setting on web.config but we can set timeout particular macro with the following syntax:

{% GetDocumentUrl()|(timeout)2000 %}

Refer https://docs.xperience.io/k12sp/macro-expressions/macro-syntax

https://devnet.kentico.com/search?searchtext=macro+timeout&searchmode=anyword

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.