Skip to content

Commit

Permalink
feat(aws-ecs-patterns): setup associated DLQ when Queue created by CD…
Browse files Browse the repository at this point in the history
…K for QueueProcessingFargateService
  • Loading branch information
SeekerWing committed Feb 20, 2020
1 parent c39716a commit a45cd7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -90,7 +90,7 @@ export interface QueueProcessingServiceBaseProps {
* The maximum number of times that a message can be received by consumers.
* When this value is exceeded for a message the message will be automatically sent to the Dead Letter Queue.
*
* @default 5
* @default 3
*/
readonly maxReceiveCount?: number;

Expand Down Expand Up @@ -214,7 +214,7 @@ export abstract class QueueProcessingServiceBase extends Construct {
this.sqsQueue = new Queue(this, 'EcsProcessingQueue', {
deadLetterQueue: {
queue: this.deadLetterQueue,
maxReceiveCount: props.maxReceiveCount || 5
maxReceiveCount: props.maxReceiveCount || 3
}
});

Expand Down
Expand Up @@ -35,7 +35,7 @@ export = {
"Arn"
]
},
maxReceiveCount: 5
maxReceiveCount: 3
}
}));

Expand Down
Expand Up @@ -35,7 +35,7 @@ export = {
"Arn"
]
},
maxReceiveCount: 5
maxReceiveCount: 3
}
}));

Expand Down

0 comments on commit a45cd7f

Please sign in to comment.