Hi @Mohamed Hussein ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The functionTimeout
property in the host.json
file for Azure Functions does not set the timeout to infinity when you specify "00:00:00". Instead, for the Flex Consumption plan, the maximum execution timeout is unbounded, but there are specific conditions that apply.
Even though you set the timeout to "00:00:00", the function may still terminate after 30 minutes due to the default settings or other constraints in the Azure environment. It's important to ensure that the function app is configured correctly and that there are no other settings or limits that might be affecting the execution time.
To avoid timeouts, consider reviewing the Azure Functions documentation for best practices and ensuring that your function is robust enough to handle long-running tasks.
Also, for your better understanding, please refer to the following documentation:
Azure Functions hosting options
Azure Functions runtime versions overview
I hope this helps! Let me know if you have any further questions or need additional assistance.