chore: Use last 2000 records as deduplication list

This commit is contained in:
Faruk AYDIN
2022-10-28 13:46:08 +02:00
parent d8e1f6df81
commit 2b38e5a0dd

View File

@@ -96,7 +96,7 @@ const globalVariable = async (
});
const lastInternalIds =
testRun || (flow && step.isAction) ? [] : await flow?.lastInternalIds();
testRun || (flow && step.isAction) ? [] : await flow?.lastInternalIds(2000);
const isAlreadyProcessed = (internalId: string) => {
return lastInternalIds?.includes(internalId);