Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

cli: add GCM_HTTP_TIMEOUT and httpTimeout support #763

Merged
merged 1 commit into from Sep 21, 2018

Conversation

jeschu1
Copy link
Member

@jeschu1 jeschu1 commented Sep 20, 2018

Make network connection time-out configurable. Provide a mechanism for setting Global.RequestTimeout via config or environment variables.

resolves #733

@jeschu1 jeschu1 added enhancement Indicates general improvement or new feature. azure-devops Related to Microsoft Azure DevOps Services and/or Server. labels Sep 20, 2018
@jeschu1 jeschu1 added this to the v1.18.0 milestone Sep 20, 2018
@jeschu1 jeschu1 requested a review from whoisj September 20, 2018 17:58
Copy link
Contributor

@whoisj whoisj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, approved. I made a style nit but otherwise :shipit:

{
get
{
lock (_syncpoint)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So why the scoped format for the get and the inline format for the set?

Perhaps just make both inline?

get { lock (_syncpoint) return _requestTimeout; }
set { lock (_syncpoint) _requestTimeout = value; }

Make network connection time-out configurable.  Provide a mechanism for setting `Global.RequestTimeout` via config or environment variables.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-devops Related to Microsoft Azure DevOps Services and/or Server. enhancement Indicates general improvement or new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make network connection time-out configurable
2 participants