Skip to content

Commit

Permalink
Merge branch 'develop' into feat.marketoConfigUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 authored Nov 2, 2023
2 parents 7eaa38d + 57fee04 commit ac21bca
Show file tree
Hide file tree
Showing 11 changed files with 1,224 additions and 423 deletions.
5 changes: 4 additions & 1 deletion src/v0/destinations/am/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ events.forEach((event) => {
const DELETE_MAX_BATCH_SIZE = 100;
const DESTINATION = 'amplitude';
const IDENTIFY_AM = '$identify';

const AMBatchSizeLimit = 20 * 1024 * 1024; // 20 MB
const AMBatchEventLimit = 500; // event size limit from sdk is 32KB => 15MB
module.exports = {
DESTINATION,
Event,
Expand All @@ -134,4 +135,6 @@ module.exports = {
DELETE_MAX_BATCH_SIZE,
batchEventsWithUserIdLengthLowerThanFive,
IDENTIFY_AM,
AMBatchSizeLimit,
AMBatchEventLimit
};
Loading

0 comments on commit ac21bca

Please sign in to comment.