Skip to content

[FEATURE REQ] Storage RequestRetryPolicy timeout time unit should be configurable #17590

@fcofdez

Description

@fcofdez

Is your feature request related to a problem? Please describe.
Currently, the timeout configured on RequestRetryOptions is just an integer, and since the unit is not
specified in the parameter name, it can lead to confusion. It seems like the current time unit used to configure the
request timeout is seconds (

.timeout(Duration.ofSeconds(this.requestRetryOptions.getTryTimeout()))
)
But you should dig into the codebase a little in order to understand which time unit is used.

Describe the solution you'd like
I would like to configure the time unit used to configure the request timeout.

Describe alternatives you've considered

Additional context

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Metadata

Metadata

Assignees

No one assigned

    Labels

    StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions