Skip to content

Commit

Permalink
Disable batching window when using fifo queues
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba authored and mnapoli committed Sep 16, 2021
1 parent f32e332 commit a6dd9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructs/aws/Queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class Queue extends AwsConstruct {
arn: this.queue.queueArn,
batchSize: batchSize,
// TODO add setting
maximumBatchingWindow: 60,
maximumBatchingWindow: this.queue.fifo ? undefined : 60,
},
},
];
Expand Down

0 comments on commit a6dd9ff

Please sign in to comment.