Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increasing retry #8983

Merged

Conversation

RoshanKumarMicrosoft
Copy link
Contributor

No description provided.

@@ -100,7 +100,7 @@ export class FirewallRules {
deferred.reject(new azureServiceClient.ApiResult(azureServiceClient.ToError(response)));
}
else if(statusCode === 202){
this._recursiveGetCall(resourceGroupName, serverName, firewallRuleName, 3, 0).then((response) => {
this._recursiveGetCall(resourceGroupName, serverName, firewallRuleName, 5, 0).then((response) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of making it a constant. Can we make it a secondary variable so that user can customize the time, he need to retry?

Copy link
Contributor

Choose a reason for hiding this comment

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

This can also help in checking the L2 by changing the variable in RD json.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is good idea but no customer has reported any issue due to this . Once they will ask We will add this one .

@@ -138,6 +138,7 @@
"ASE_SSLIssueRecommendation": "To use a certificate in App Service, the certificate must be signed by a trusted certificate authority. If your web app gives you certificate validation errors, you're probably using a self-signed certificate and to resolve them you need to set a variable named VSTS_ARM_REST_IGNORE_SSL_ERRORS to the value true in the build or release definition",
"FailedToGetAzureMetricAlerts": "Failed to get Azure metric alerts: %s. Error: %s",
"FailedToUpdateAzureMetricAlerts": "Failed to update Azure metric alert rule '%s' Resource. Error: %s",
"ResponseNotValid": "Response is not in a valid format"
"ResponseNotValid": "Response is not in a valid format",
"NotAbleToCreateFirewallRule": "Getting error during adding firewall rule to azure mysql server. Error: %s"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: change azure to Azure. Please verify the help string with PM once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@RoshanKumarMicrosoft RoshanKumarMicrosoft merged commit e0b8867 into master Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants