Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability of specifying timeout per service client instance #281

Open
svejdo1 opened this issue May 31, 2022 · 2 comments
Open

Capability of specifying timeout per service client instance #281

svejdo1 opened this issue May 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@svejdo1
Copy link

svejdo1 commented May 31, 2022

Currently the max connection timeout is static-only - ServiceClient.MaxConnectionTimeout; this is inconvenient for situation like having a service than handles async workload (where long waiting is tolerable, desired even sometimes for some kind of metadata publishing) and sync workload (where waiting is not tolerable - we need to fail fast as user won't wait behind browser for our service to communicate with slow dataverse).

Would it be possible to specify the timeout per service client instance instead ?

@MattB-msft MattB-msft added the enhancement New feature or request label May 31, 2022
@MattB-msft
Copy link
Member

This is something we can look at for future enhancement, and might be a good candidate for the "with" pattern we are considering implementing for several things.

@8ggmaker
Copy link
Member

@MattB-msft is the MaxConnectionTimeout the same as the execution timeout, I see the default value of MaxConnectionTimeout is 2 minute, but we see some execution timeout of 4 minute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants