The functionTimeout parameter in my host.json file is set to "functionTimeout": "00:45:00"
I'm seeing timeouts happen every 45 minute interval.
When I dig into the timeouts through Application Insights, they have not been running for 45 minutes. Here's an example:
End:
I have also done what I can to make sure my function isn't running in parallel. I've limited the function to run on 1 machine and one instance using "batchSize": 1
in my host.json file.
How is it possible that I'm seeing timeouts before the maximum allotted time for the function to run before a timeout? And how come I'm seeing timeouts happen every 45 minute interval, which aligns with what my functionTimeout parameter is set to?
host.json details:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
},
"extensions": {
"queues": {
"batchSize": 1
}
},
"functionTimeout": "00:45:00"
}