Skip to content

Commit 874115c

Browse files
committed
add contentBasedDeduplication to importer queues
1 parent b98c2f4 commit 874115c

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

apps/web/lib/firstpromoter/importer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class FirstPromoterImporter {
3535
return await qstash.publishJSON({
3636
url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/firstpromoter`,
3737
body,
38+
contentBasedDeduplication: true,
3839
});
3940
}
4041
}

apps/web/lib/partnerstack/importer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class PartnerStackImporter {
4040
return await qstash.publishJSON({
4141
url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/partnerstack`,
4242
body,
43+
contentBasedDeduplication: true,
4344
});
4445
}
4546
}

apps/web/lib/rewardful/importer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class RewardfulImporter {
3838
return await qstash.publishJSON({
3939
url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/rewardful`,
4040
body,
41+
contentBasedDeduplication: true,
4142
});
4243
}
4344
}

apps/web/lib/tolt/importer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class ToltImporter {
3737
return await qstash.publishJSON({
3838
url: `${APP_DOMAIN_WITH_NGROK}/api/cron/import/tolt`,
3939
body,
40+
contentBasedDeduplication: true,
4041
});
4142
}
4243

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@boxyhq/saml-jackson": "1.52.1",
2727
"@chronark/zod-bird": "^1.0.0",
2828
"@date-fns/tz": "^1.4.1",
29-
"@dub/analytics": "^0.0.27",
29+
"@dub/analytics": "^0.0.32",
3030
"@dub/email": "workspace:*",
3131
"@dub/embed-react": "workspace:*",
3232
"@dub/prisma": "workspace:*",

pnpm-lock.yaml

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)