Support setting timeout for Azure CLI commands
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Extension developer verbatim:
Recently we encountered an issue where the post call made using [`send_raw_request`](https://github.com/Azure/azure-cli/blob/953a006139961b6e4882a39c97a4c8bda1891582/src/azure-cli-core/azure/cli/core/util.py#L873) function got stuck and it didn’t return any response and because of that onboarding was stuck in the same state for 6 days for a partner team. When they killed that job, another instance of the job came up and then onboarding was successful.
We want to know
1. what can be the reasons this function might get stuck
2. if there is any default timeout in this function
3. Can we pass some timeout parameter
Link to our code where we are using this for making the post call - https://github.com/Azure/azure-cli-extensions/blob/cbf3346a7ecb624ad14f086f92b280a5ac927e8b/src/connectedk8s/azext_connectedk8s/_utils.py#L416
Contributor guide
Assessment
This issue has not been assessed yet.