Azure / Azure/azure-functions-core-tools
Azure Function core tool scm timeout set to 300 by default
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
While deploying the Function with Azure Functions core tools using this command func azure functionapp publish --python the default scm timeout is set to - 300 seconds according to this [SDK](https://github.com/Azure/azure-functions-core-tools/blob/1a1ae9c79281dd44d68f2ddd0d35aab716f21f23/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs#L755)
Any possibility to change this default SCM timeout to more than 300 seconds? Otherwise, The below error occurs:-
```txt
Timed out waiting for SCM to update the Environment Settings
```
An alternative to resolve this error is in my [SO Thread Answer](https://stackoverflow.com/questions/77148969/azure-function-publish-reduce-scm-environment-setting-timout-duration/77215510#77215510) But any possibility of increasing default SCM Timeout in Azure Functions core tools?
Contributor guide
Research direction
Review src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs around line 755, where the SCM timeout is set during func azure functionapp publish. Run a Python Function App publish to observe the current timeout behavior. Done means the default SCM timeout is increased and the reported environment-settings timeout is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100