Merge pull request #90 from skriss/change-azure-apitimeout

change Azure API timeout default to 2m
pull/91/head
Andy Goldstein 2017-09-14 09:38:09 -04:00 committed by GitHub
commit 609bf80f9e
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ No parameters required; specify an empty object per [example file][14].
| Key | Type | Default | Meaning |
| --- | --- | --- | --- |
| `location` | string | Required Field | *Example*: "Canada East"<br><br>See [the list of available locations][7] (note that this particular page refers to them as "Regions"). |
| `apiTimeout` | metav1.Duration | 1m0s | How long to wait for an API Azure request to complete before timeout. |
| `apiTimeout` | metav1.Duration | 2m0s | How long to wait for an Azure API request to complete before timeout. |
[0]: #aws
[1]: #gcp

View File

@ -78,7 +78,7 @@ func NewBlockStorageAdapter(location string, apiTimeout time.Duration) (cloudpro
}
if apiTimeout == 0 {
apiTimeout = time.Minute
apiTimeout = 2 * time.Minute
}
cfg := getConfig()