process camapign emails in queue (#104)

* process camapign emails in queue

* remove validity

* add bulk queue

* fix typo
This commit is contained in:
KM Koushik authored and GitHub committed 2025-02-08 21:34:48 +11:00
1 parent de85dde705
commit d497c29eba
4 files changed
+152 -71

No files matched your search

@@ -0,0 +1,9 @@
export const SES_WEBHOOK_QUEUE = "ses-webhook";
export const CAMPAIGN_MAIL_PROCESSING_QUEUE = "campaign-emails-processing";
export const DEFAULT_QUEUE_OPTIONS = {
removeOnComplete: true,
removeOnFail: {
age: 30 * 24 * 3600, // 30 days
},
};