Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
decreased default chunk size #801
Browse files Browse the repository at this point in the history
  • Loading branch information
batamar committed Jun 28, 2020
1 parent 87cd0ea commit ab24331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/resolvers/mutations/engageUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const sendViaEmail = async (engageMessage: IEngageMessageDocument, custom
engageMessageId,
};

const chunks = chunkArray(customerInfos, 3000);
const chunks = chunkArray(customerInfos, 1000);

for (const chunk of chunks) {
data.customers = chunk;
Expand Down

0 comments on commit ab24331

Please sign in to comment.