Skip to content

Commit

Permalink
feat: increase metrics batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jul 18, 2024
1 parent d19b0f2 commit 76e98ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stacks/upload-api-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export function UploadApiStack({ stack, app }) {
cdk: {
eventSource: {
...(getEventSourceConfig(stack)),
batchSize: 25,
// Override where to begin consuming the stream to latest as we already are reading from this stream
startingPosition: StartingPosition.LATEST,
filters: [
Expand All @@ -202,6 +203,7 @@ export function UploadApiStack({ stack, app }) {
cdk: {
eventSource: {
...(getEventSourceConfig(stack)),
batchSize: 25,
// Override where to begin consuming the stream to latest as we already are reading from this stream
startingPosition: StartingPosition.LATEST,
filters: [
Expand Down

0 comments on commit 76e98ba

Please sign in to comment.