reduce campaigns and ses webhook concurrency
This commit is contained in:
@@ -379,7 +379,7 @@ export async function updateCampaignAnalytics(
|
||||
});
|
||||
}
|
||||
|
||||
const CAMPAIGN_EMAIL_CONCURRENCY = 200;
|
||||
const CAMPAIGN_EMAIL_CONCURRENCY = 50;
|
||||
|
||||
class CampaignEmailService {
|
||||
private static campaignQueue = new Queue(CAMPAIGN_MAIL_PROCESSING_QUEUE, {
|
||||
|
||||
@@ -290,7 +290,7 @@ export class SesHookParser {
|
||||
},
|
||||
{
|
||||
connection: getRedis(),
|
||||
concurrency: 200,
|
||||
concurrency: 50,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user