Skip to content

Commit

Permalink
Increasing timeout for PublishAzureWebApp cmdlet (Azure#21822)
Browse files Browse the repository at this point in the history
* Increasing timeout for PublishAzureWebApp cmdlet

* Adding changelog ref

---------

Co-authored-by: azfuncgh <azfuncgh@github.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
  • Loading branch information
3 people authored May 23, 2023
1 parent 676e576 commit 457d83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Websites/Websites/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Increased timeout for Publish-AzWebApp command

## Version 3.0.0
* Removed `New-AzWebAppContainerPSSession` and `Enter-AzWebAppContainerPSSession` cmdlets
Expand Down
4 changes: 2 additions & 2 deletions src/Websites/Websites/Cmdlets/WebApps/PublishAzureWebApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ namespace Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps
[Cmdlet("Publish", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WebApp", SupportsShouldProcess = true, DefaultParameterSetName = ParameterSet2Name), OutputType(typeof(PSSite))]
public class PublishAzureWebAppCmdlet : WebAppOptionalSlotBaseCmdlet
{
// Poll status for a maximum of 20 minutes (1200 seconds / 2 seconds per status check)
private const int NumStatusChecks = 600;
// Poll status for a maximum of 35 minutes (2100 seconds / 2 seconds per status check)
private const int NumStatusChecks = 1050;

[Parameter(Mandatory = true, HelpMessage = "The path of the archive file. ZIP, WAR, and JAR are supported.")]
[ValidateNotNullOrEmpty]
Expand Down

0 comments on commit 457d83b

Please sign in to comment.