@hwaitech Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you have the query related to the timeout setting in Azure Function App.
The functionTimeout
property in the host.json, Indicates the timeout duration for all function executions. It follows the timespan string format.
As mentioned in the below table, the default timeout for Premium is 30 min. So even if you don't mention it as 30 mins it will still consider it as 30 min.
More Info:
In the context of Azure Functions, unbounded
means that there is no set limit on the execution time of the function. When you set the functionTimeout property to -1 in the host.json file, it indicates that the function can run indefinitely. However, it’s recommended to keep a fixed upper bound to prevent runaway executions.
Please note that while the execution time is technically unbounded in the Premium plan, the guaranteed execution time is 60 minutes. This means that while your function could potentially run for longer than 60 minutes, Azure only guarantees that it will run for up to 60 minutes.
Refer this article. Hope this helps.
Please let me know if you have any follow-up questions. I would be happy to help.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.