Reputation: 9502
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.
Upvotes: 8
Views: 11571
Reputation: 15754
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.
Upvotes: 8