Azure/azure-sdk-for-ruby

Managed Identity: Configurable timeout based on time

Closed this issue · 3 comments

Currently, the retry logic in the Azure SDKs for Managed Identity token generation supports a configurable time out based on counts. For response time sensitive services this has not been enough. Per customer feedback, they would like to have timeout configuration based on time (i.e. milliseconds)
This will allow for quicker fail after certain.
Can we make the retry max configurable based on time?
@binderjoe FYI

@binderjoe any update on this one?

@binderjoe any update on this one?

This is done. Ruby Runtime has exposed an env variable USER_DEFINED_IMDS_MAX_RETRY_TIME for this

//CC: @sarangan12