Skip to content

Commit

Permalink
fix: faster polling for ecs hotswap
Browse files Browse the repository at this point in the history
the FAILED intermediate state is short

faster polling ensures responsive deployments
  • Loading branch information
tomwwright committed Nov 11, 2023
1 parent 9e6ae94 commit aa6968f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk/lib/api/hotswap/ecs-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export async function isHotswappableEcsServiceChange(
(sdk.ecs() as any).api.waiters.deploymentCompleted = {
name: 'DeploymentCompleted',
operation: 'describeServices',
delay: 10,
maxAttempts: 60,
delay: 6,
maxAttempts: 100,
acceptors: [
{
matcher: 'pathAny',
Expand Down

0 comments on commit aa6968f

Please sign in to comment.