You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the maximumBatchingWindow is hardcoded to 60 seconds (when using standard queue). We would like to be able to configure this. There's even a TODO in the code for adding this as a setting :)
this.configuration.worker.events = [
// Subscribe the worker to the SQS queue
{
sqs: {
arn: this.queue.queueArn,
batchSize: batchSize,
// TODO add setting
maximumBatchingWindow: this.queue.fifo ? undefined : 60,
functionResponseType: "ReportBatchItemFailures",
},
},
];
Start from the Use-case
Currently the
maximumBatchingWindow
is hardcoded to 60 seconds (when using standard queue). We would like to be able to configure this. There's even a TODO in the code for adding this as a setting :)Example Config
Implementation Idea
NOTE: The
maxBatchingWindow
setting is in secondsThe text was updated successfully, but these errors were encountered: