From 5424eba417096c4d8ffc576644a3b0e19b9d040b Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Wed, 13 Sep 2017 16:20:12 -0700 Subject: [PATCH] change Azure API timeout default to 2m Signed-off-by: Steve Kriss --- docs/config-definition.md | 2 +- pkg/cloudprovider/azure/block_storage_adapter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config-definition.md b/docs/config-definition.md index b430ddf5a..b98d32317 100644 --- a/docs/config-definition.md +++ b/docs/config-definition.md @@ -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"

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 diff --git a/pkg/cloudprovider/azure/block_storage_adapter.go b/pkg/cloudprovider/azure/block_storage_adapter.go index 61886a34f..62cad92fc 100644 --- a/pkg/cloudprovider/azure/block_storage_adapter.go +++ b/pkg/cloudprovider/azure/block_storage_adapter.go @@ -78,7 +78,7 @@ func NewBlockStorageAdapter(location string, apiTimeout time.Duration) (cloudpro } if apiTimeout == 0 { - apiTimeout = time.Minute + apiTimeout = 2 * time.Minute } cfg := getConfig()