My Function App has host.json with functionTimeout for development environment.
I would like to configure functionTimeout also for production environment with a different value.
Can this value be configured in Azure portal? I could not find it in settings.
Can there be a separate host.json for production environment in the Visual Studio project?
Thank you.
Go to your function app and click "App files", then you can configure functionTimeout.

You also need to check this tutorial about the default timeout and maximum timeout for each plan type.

And as far as I know, only one host.json can exist in one project in local Visual Studio project. So I think we can just configure different functionTimeout on portal when you deploy the function project from local to azure.
While running it locally we can set functionTimeout as 1 hour.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With