I am running an azure function with basic plan in portal. I am getting this timeout error and my function is not running because of this reason. How I can resolve this issue
Asked
Active
Viewed 1.9k times
1 Answers
14
Azure Functions are now allowed to run upto 10 minutes. You need to change the "functionTimeout" value in host.json file.
https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#consumption-plan https://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json#functiontimeout
Also, please check a similar question posted on SO: Azure Functions timeout for Consumption plan

Vaibhav Singla
- 832
- 1
- 10
- 14
-
2If even 10 minutes are too short for your jobs, consider using the "Durable Functions" framework, which lets you split up your jobs into smaller junks. – Thomas Schreiter Feb 25 '19 at 13:24
-
8In short: Add `"functionTimeout": "00:10:00"` to your host.json file – Don Cheadle Aug 06 '19 at 18:35