PowerPlatform-DataverseServiceClient icon indicating copy to clipboard operation
PowerPlatform-DataverseServiceClient copied to clipboard

Capability of specifying timeout per service client instance

Open svejdo1 opened this issue 2 years ago • 2 comments

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 ?

svejdo1 avatar May 31 '22 12:05 svejdo1

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.

MattB-msft avatar May 31 '22 21:05 MattB-msft

@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

8ggmaker avatar Jul 19 '22 05:07 8ggmaker