I have an azure function app with many function. One of these is a durable function (Starter, orchestrator, and activity). I want to set the timeout of my durable function (and not my other functions) to 10 minutes. From what I understand this is configurable in the host.json file.
I have configured mine as below:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.*, 4.0.0)"
},
"extensions": {
"durableTask": {
"functionTimeout": "00:10:00"
}
}
}
I get an error (yellow underline in VScode) under the functionTimeout stating: Property functionTimeout is not allowed.
However if I move the function time out the parent level I do not get this error. The only problem with this solution is that it will set the function timeout of all my functions, durable and non-durable, to 10 minutes. Is there a way to configure this correctly?