chore: Use last 2000 records as deduplication list
This commit is contained in:
@@ -96,7 +96,7 @@ const globalVariable = async (
|
|||||||
});
|
});
|
||||||
|
|
||||||
const lastInternalIds =
|
const lastInternalIds =
|
||||||
testRun || (flow && step.isAction) ? [] : await flow?.lastInternalIds();
|
testRun || (flow && step.isAction) ? [] : await flow?.lastInternalIds(2000);
|
||||||
|
|
||||||
const isAlreadyProcessed = (internalId: string) => {
|
const isAlreadyProcessed = (internalId: string) => {
|
||||||
return lastInternalIds?.includes(internalId);
|
return lastInternalIds?.includes(internalId);
|
||||||
|
Reference in New Issue
Block a user