Skip to content

Commit

Permalink
Increase timeout for azurerm_app_service_plan to accommodate cr… (#3737)
Browse files Browse the repository at this point in the history
quick fix until #171 is implemented
  • Loading branch information
Nicholas M. Iodice authored and katbyte committed Jun 27, 2019
1 parent 8cb2ed1 commit 5e4d392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azurerm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (c *ArmClient) configureClient(client *autorest.Client, auth autorest.Autho
client.RequestInspector = azure.WithCorrelationRequestID(azure.CorrelationRequestID())
client.Sender = azure.BuildSender()
client.SkipResourceProviderRegistration = c.skipProviderRegistration
client.PollingDuration = 60 * time.Minute
client.PollingDuration = 180 * time.Minute
}

func setUserAgent(client *autorest.Client, partnerID string) {
Expand Down
2 changes: 1 addition & 1 deletion azurerm/internal/ar/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func ConfigureClient(client *autorest.Client, auth autorest.Authorizer, partnerI
setUserAgent(client, partnerId)
client.Authorizer = auth
client.Sender = sender.BuildSender("AzureRM")
client.PollingDuration = 60 * time.Minute
client.PollingDuration = 180 * time.Minute
client.SkipResourceProviderRegistration = skipProviderReg
client.RequestInspector = azure.WithCorrelationRequestID(azure.CorrelationRequestID())

Expand Down

0 comments on commit 5e4d392

Please sign in to comment.