You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From microsoftgraph/msgraph-sdk-go#302 (comment) and #24 , looks like the library by default adds a 100s timeout if none is present. I understand that we can pass a context with a Deadline, but this becomes a problem when we have to do this for all requests. I was hoping to use the Timeout in http client instead of a context deadline. Is there some way to globally override this 100s timeout?
Hi @meain, thanks for your interest in the SDK. We currently don't have a way to define a global deadline, a PR is however out that should be able to address your request #71
Thanks for the quick fix, but there is one more item that I would like to address which is regarding setting empty timeout. Is there some way to avoid setting a timeout. We were using 0 value for http.Timeout for downloading large files so as to ensure that it would not timeout (until the server decides to), but I don't think that would be possible here anymore.
From microsoftgraph/msgraph-sdk-go#302 (comment) and #24 , looks like the library by default adds a 100s timeout if none is present. I understand that we can pass a context with a Deadline, but this becomes a problem when we have to do this for all requests. I was hoping to use the
Timeout
in http client instead of a context deadline. Is there some way to globally override this 100s timeout?Other references:
The text was updated successfully, but these errors were encountered: