File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ export function AggregatorStack({ stack, app }) {
66
66
// Guarantee exactly-once processing
67
67
// (Note: maximum 10 batch)
68
68
fifo : true ,
69
- // During the deduplication interval (14 minutes), Amazon SQS treats
69
+ // During the deduplication interval (15 minutes), Amazon SQS treats
70
70
// messages that are sent with identical body content
71
71
contentBasedDeduplication : true ,
72
72
queueName : `${ bufferQueueName } .fifo` ,
73
- visibilityTimeout : Duration . minutes ( 14 )
73
+ visibilityTimeout : Duration . minutes ( 15 )
74
74
}
75
75
} ,
76
76
} )
@@ -192,15 +192,15 @@ export function AggregatorStack({ stack, app }) {
192
192
aggregatorBufferStoreBucket ,
193
193
aggregateOfferQueue
194
194
] ,
195
- timeout : '14 minutes' ,
196
- memorySize : '8 GB'
195
+ timeout : '15 minutes' ,
196
+ memorySize : '10 GB'
197
197
} ,
198
198
deadLetterQueue : bufferQueueDLQ . cdk . queue ,
199
199
cdk : {
200
200
eventSource : {
201
201
// we can reduce most buffers possible at same time to avoid large buffers to create huge congestion on the queue while being processed.
202
202
// also makes fewer lambda calls and decreases overall execution time.
203
- batchSize : 2 ,
203
+ batchSize : 10 ,
204
204
// allow reporting partial failures
205
205
reportBatchItemFailures : true ,
206
206
} ,
You can’t perform that action at this time.
0 commit comments