I would like to disable automatic retry in the Azure Durable Function. So whenever there is an error just stop executing and do not retry it again.
I updated host.json with the following settings but it seems not working.
{
"version": "2.0",
"retry": {
"strategy": "fixedDelay",
"maxRetryCount": 0,
"delayInterval": "00:00:00"
},
"extensions": {
"queues": {
"maxDequeueCount": 0
}
},
"functionTimeout": "00:30:00",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
}
}
I still can see queue messages in mystorageaccountname-workitems queue.